Skip to content

Commit d5f7457

Browse files
authored
Add Dockerfile for Node.js application setup
1 parent 320cbdb commit d5f7457

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Dockerfile

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

0 commit comments

Comments
 (0)