Skip to content

Commit ecbd60b

Browse files
committed
added docker file
1 parent b071468 commit ecbd60b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

Dockerfile

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM node:alpine
2+
3+
WORKDIR /app
4+
COPY package.json .
5+
RUN npm install --only=prod
6+
COPY . .
7+
8+
CMD ["npm", "start"]

0 commit comments

Comments
 (0)