Initial stab
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
FROM rust:latest AS builder
|
||||
|
||||
COPY ./ /usr/src/nym
|
||||
WORKDIR /usr/src/nym/nym-api
|
||||
RUN cargo build --release
|
||||
|
||||
ENTRYPOINT ["/usr/src/nym/nym-api/entrypoint.sh"]
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
/usr/src/nym/target/release/nym-api init && /usr/src/nym/target/release/nym-api run
|
||||
Reference in New Issue
Block a user