diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -7,13 +7,13 @@ FROM rust:1.48 AS stage1 ARG ROUGHENOUGH_RELEASE=1.1.8 -ARG ROUGHENOUGH_FEATURES="default" +ARG ROUGHENOUGH_FEATURES="default" # Uncomment and replace above if you want KMS support #ARG ROUGHENOUGH_FEATURES="awskms" #ARG ROUGHENOUGH_FEATURES="gcpkms" RUN git clone -b ${ROUGHENOUGH_RELEASE} https://github.com/int08h/roughenough.git \ - && cd /roughenough \ + && cd /roughenough \ && cargo build --release --features ${ROUGHENOUGH_FEATURES} # Stage 2: runtime image @@ -39,7 +39,7 @@ ENV ROUGHENOUGH_SEED 111111111aaaaaaaaa222222222bbbbbbbbb333333333ccccccccc44444 # COPY gcp-creds.json /roughenough # ENV GOOGLE_APPLICATION_CREDENTIALS /roughenough/creds.json -EXPOSE 2002/udp +EXPOSE 2002/udp CMD ["/roughenough/roughenough-server", "ENV"] |