aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Prasil <[email protected]>2018-07-12 13:25:15 +0100
committerMiroslav Prasil <[email protected]>2018-07-12 13:25:15 +0100
commit79fccccad778088093bad858258aafd7f2037e70 (patch)
treec45417f890cc3096bd58e6ffa0c9d7ff71f1988f
parent470ad14616e99213721458de549fac67890ecf18 (diff)
downloadvaultwarden-79fccccad778088093bad858258aafd7f2037e70.tar.gz
vaultwarden-79fccccad778088093bad858258aafd7f2037e70.zip
Move the ROCKET_ENV to the runtime image
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 5174c7a6..a68a82a8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,7 +6,6 @@ FROM node:9-alpine as vault
ENV VAULT_VERSION "1.27.0"
ENV URL "https://github.com/bitwarden/web/archive/v${VAULT_VERSION}.tar.gz"
-ENV ROCKET_ENV "staging"
RUN apk add --update-cache --upgrade \
curl \
@@ -68,6 +67,8 @@ RUN cargo build --release
# because we already have a binary built
FROM debian:stretch-slim
+ENV ROCKET_ENV "staging"
+
# Install needed libraries
RUN apt-get update && apt-get install -y\
openssl\