Fixing front Dockerfile

This commit is contained in:
David Négrier 2020-09-18 17:39:59 +02:00
parent 30d2a25501
commit 5c0a4e7c5a
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ FROM thecodingmachine/nodejs:14-apache
COPY --chown=docker:docker front .
COPY --chown=docker:docker messages /var/www/messages
RUN yarn install
RUN cd /usr/src/messages && yarn install
RUN cd /var/www/messages && yarn install
ENV NODE_ENV=production
ENV STARTUP_COMMAND_1="yarn run build"