Fix failing docker build

This commit is contained in:
LordMathis 2019-09-25 22:20:31 +02:00
parent da5575bade
commit dcfba17a88
No known key found for this signature in database
GPG Key ID: 575849FD91CE470C
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
FROM node:10-alpine FROM node:12
WORKDIR /app WORKDIR /app
COPY . ./ COPY . ./
RUN yarn RUN yarn
RUN yarn build RUN yarn build
VOLUME /app
EXPOSE 3000 EXPOSE 3000
CMD [ "yarn", "start" ] CMD [ "yarn", "start" ]