1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46: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 ./ COPY package.json yarn.lock ./
RUN yarn RUN yarn
COPY . . 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 FROM nginx:alpine
COPY docker/www/nginx.conf /etc/nginx/nginx.conf COPY docker/www/nginx.conf /etc/nginx/nginx.conf