Fix dockerfile

This commit is contained in:
sadnub 2020-02-18 19:33:01 -05:00 committed by GitHub
parent 3ceabc23bf
commit 735b5af722
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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