mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-11-21 20:35:28 +03:00
Move the ROCKET_ENV to the runtime image
This commit is contained in:
parent
470ad14616
commit
79fccccad7
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,6 @@ FROM node:9-alpine as vault
|
||||||
|
|
||||||
ENV VAULT_VERSION "1.27.0"
|
ENV VAULT_VERSION "1.27.0"
|
||||||
ENV URL "https://github.com/bitwarden/web/archive/v${VAULT_VERSION}.tar.gz"
|
ENV URL "https://github.com/bitwarden/web/archive/v${VAULT_VERSION}.tar.gz"
|
||||||
ENV ROCKET_ENV "staging"
|
|
||||||
|
|
||||||
RUN apk add --update-cache --upgrade \
|
RUN apk add --update-cache --upgrade \
|
||||||
curl \
|
curl \
|
||||||
|
@ -68,6 +67,8 @@ RUN cargo build --release
|
||||||
# because we already have a binary built
|
# because we already have a binary built
|
||||||
FROM debian:stretch-slim
|
FROM debian:stretch-slim
|
||||||
|
|
||||||
|
ENV ROCKET_ENV "staging"
|
||||||
|
|
||||||
# Install needed libraries
|
# Install needed libraries
|
||||||
RUN apt-get update && apt-get install -y\
|
RUN apt-get update && apt-get install -y\
|
||||||
openssl\
|
openssl\
|
||||||
|
|
Loading…
Reference in a new issue