1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

added env variables to builder

This commit is contained in:
Fedor Katurov 2021-09-30 14:35:16 +07:00
parent de97910127
commit c95685bc27

View file

@ -2,7 +2,7 @@ FROM node:dubnium-alpine as builder
COPY package.json yarn.lock ./
RUN yarn
COPY . .
RUN yarn build
RUN REACT_APP_API_HOST=${REACT_APP_API_HOST} REACT_APP_REMOTE_CURRENT=${REACT_APP_REMOTE_CURRENT} yarn build
FROM nginx:alpine
COPY docker/www/nginx.conf /etc/nginx/nginx.conf