Skip to content

Commit

Permalink
dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Gani-23 committed Sep 3, 2024
1 parent 2ec8755 commit 22aaca9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM node:22-alpine3.19
COPY . .
RUN npm install
EXPOSE 3000
CMD ["npm", "run", "start"]

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "set PORT=80 && react-scripts start",
"start": "set PORT=3000 && react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
Expand Down

0 comments on commit 22aaca9

Please sign in to comment.