Fix dockerfile
This commit is contained in:
parent
3ceabc23bf
commit
735b5af722
|
@ -6,7 +6,7 @@ WORKDIR /home/node
|
|||
RUN apk add gettext
|
||||
COPY ./web .
|
||||
COPY ./docker/app/.env.local.keep /home/.env.local.tmp
|
||||
RUN envsubst '\$APP_HOST' < /home/.env.local.tmp > /home/node/.env.local && rm /home/.env.local.tmp
|
||||
RUN envsubst '\$API_HOST' < /home/.env.local.tmp > /home/node/.env.local && rm /home/.env.local.tmp
|
||||
RUN npm install && npm run build
|
||||
COPY ./docker/app/app.conf /home/node/app.conf.tmp
|
||||
RUN envsubst '\$APP_HOST' < /home/node/app.conf.tmp > /home/node/app.conf
|
||||
|
|
Loading…
Reference in New Issue