Skip to content

Commit f1640a9

Browse files
committed
added Dockerfile
1 parent d7e9d97 commit f1640a9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Dockerfile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM node:12.18.3
2+
3+
WORKDIR /app
4+
COPY ["package.json", "package-lock.json*", "./"]
5+
RUN npm install --production
6+
COPY . .
7+
RUN npm run build
8+
9+
EXPOSE $CLIENT_PORT
10+
CMD ["node", "server.js"]

0 commit comments

Comments
 (0)