Add dockerfile

This commit is contained in:
Yarmo Mackenbach 2021-06-19 23:43:53 +02:00
parent 74f1a0f742
commit 494160c176
Signed by: yarmo
GPG Key ID: 37367F4AF4087AD1

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM node:14
RUN mkdir /app
WORKDIR /app
COPY package.json /app
COPY yarn.lock /app
RUN yarn --production --pure-lockfile
COPY . /app
EXPOSE 3000
CMD yarn start