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:
parent
de97910127
commit
c95685bc27
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue