Skip to content

Commit

Permalink
Fix container stopping immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
ngregrichardson committed Oct 31, 2021
1 parent d52e34d commit 9195e01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ RUN yarn install
COPY . ./
EXPOSE 3000
RUN yarn build
RUN yarn serve
CMD yarn serve
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"serve": "npx serve -l 3000 -s build &"
"serve": "npx serve -l 3000 -s build"
},
"eslintConfig": {
"extends": [
Expand Down

0 comments on commit 9195e01

Please sign in to comment.