Skip to content

Commit

Permalink
Initial stab
Browse files Browse the repository at this point in the history
  • Loading branch information
durch committed Oct 1, 2024
1 parent 1202a2f commit 4c51a89
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nym-api.dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
5 changes: 5 additions & 0 deletions nym-api/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

set -e

/usr/src/nym/target/release/nym-api init && /usr/src/nym/target/release/nym-api run

0 comments on commit 4c51a89

Please sign in to comment.