From 79fccccad778088093bad858258aafd7f2037e70 Mon Sep 17 00:00:00 2001 From: Miroslav Prasil Date: Thu, 12 Jul 2018 13:25:15 +0100 Subject: [PATCH] Move the ROCKET_ENV to the runtime image --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5174c7a6..a68a82a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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\