geforkt von mirrored/vaultwarden
Move the ROCKET_ENV to the runtime image
Dieser Commit ist enthalten in:
Ursprung
470ad14616
Commit
79fccccad7
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
|
@ -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\
|
||||
|
|
Laden …
In neuem Issue referenzieren