Fixing Dockerfiles

This commit is contained in:
David Négrier 2020-04-11 15:11:22 +02:00
parent 7b51f734c5
commit d979636a19
4 changed files with 5 additions and 3 deletions

View file

@ -1,8 +1,8 @@
FROM thecodingmachine/nodejs:12
COPY . .
COPY --chown=docker:docker . .
RUN yarn install
ENV NODE_ENV=production
CMD ['yarn', 'run', 'prod']
CMD ["yarn", "run", "prod"]