Skip to content

Commit a1f1376

Browse files
committed
backend dockerfile
1 parent 59b27e0 commit a1f1376

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

mern/backend/Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM node:18.9.1
2+
3+
WORKDIR /app
4+
5+
COPY package.json .
6+
7+
RUN npm install
8+
9+
COPY . .
10+
11+
EXPOSE 5050
12+
13+
CMD ["npm", "start"]
14+

0 commit comments

Comments
 (0)