diff options
author | dustyrip <[email protected]> | 2018-07-11 20:06:55 +0200 |
---|---|---|
committer | dustyrip <[email protected]> | 2018-07-11 18:56:28 +0000 |
commit | ca31f117d5bd236796c276411358721d4921422b (patch) | |
tree | 8b89eec2191a9d27e1d3f84937d1d71c00162453 | |
parent | 1cb67eee691f6020e181ad0f52c945319176828b (diff) | |
download | vaultwarden-ca31f117d5bd236796c276411358721d4921422b.tar.gz vaultwarden-ca31f117d5bd236796c276411358721d4921422b.zip |
Allow users to specify ROCKET_ENV when starting container
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |