1
0
Fork 1
Spiegel von https://github.com/dani-garcia/vaultwarden.git synchronisiert 2024-11-21 05:00:28 +01:00

Allow users to specify ROCKET_ENV when starting container

Dieser Commit ist enthalten in:
dustyrip 2018-07-11 20:06:55 +02:00
Ursprung 1cb67eee69
Commit ca31f117d5

Datei anzeigen

@ -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
CMD ./bitwarden_rs