Skip to content

Commit fcf0029

Browse files
committed
react dockerfile added
1 parent 151276c commit fcf0029

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM node:22-alpine3.18
2+
WORKDIR /app
3+
COPY package.json .
4+
RUN npm install
5+
COPY . .
6+
RUN npm run build
7+
EXPOSE 3000
8+
CMD [ "npm", "start" ]

0 commit comments

Comments
 (0)