Improve Dockerfile

This commit is contained in:
2021-04-05 18:23:03 +02:00
parent 82febf84c6
commit d4cd3bb153

View File

@@ -12,14 +12,12 @@ RUN yarn install
RUN yarn build
RUN cp .env build
WORKDIR /usr/src/artapi/build
RUN yarn install --production
RUN cp .env build
EXPOSE 5555
COPY . .
CMD ["yarn", "start"]