commit 869352c361c5e820ba12f07123d6ce9b212dca68
parent 1cb67eee691f6020e181ad0f52c945319176828b
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Wed, 11 Jul 2018 21:17:45 +0200
Merge pull request #70 from dustyrip/dustyrip-patch-1
Enable user to change ROCKET_ENV for container
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/Dockerfile b/Dockerfile
@@ -6,6 +6,7 @@ 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 \
@@ -86,6 +87,4 @@ COPY --from=vault /web-vault ./web-vault
COPY --from=build app/target/release/bitwarden_rs .
# Configures the startup!
-# Use production to disable Rocket logging
-#CMD ROCKET_ENV=production ./bitwarden_rs
-CMD ROCKET_ENV=staging ./bitwarden_rs
-\ No newline at end of file
+CMD ./bitwarden_rs