Add dockerfile
This commit is contained in:
parent
74f1a0f742
commit
494160c176
9
Dockerfile
Normal file
9
Dockerfile
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user