Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
keshav2010 committed Mar 6, 2024
1 parent 260ef98 commit b3ce7be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ RUN npm install
COPY . .
EXPOSE 3000
EXPOSE 3007
CMD ["npm", "start"]
EXPOSE 2567
CMD ["npm", "run", "deploy"]
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"build": "webpack --config webpack.config.js --watch",
"start": "tsx watch gameserver/index.ts",
"dev": "webpack --config webpack.config.js --watch && tsx watch gameserver/index.ts",
"deploy": "webpack --config webpack.config.js && tsx watch gameserver/index",
"test": "ts-jest",
"run_server": "docker-compose up -d --build --remove-orphans",
"stop_server": "docker-compose down"
Expand Down

0 comments on commit b3ce7be

Please sign in to comment.