Skip to content

Commit

Permalink
start the app on port 4000
Browse files Browse the repository at this point in the history
  • Loading branch information
akoskm committed Dec 18, 2023
1 parent 1117cde commit 739142f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
docker pull akoskm/saas:latest
docker stop saas_container
docker rm saas_container
docker run -d --name saas_container --env-file .env -p 3000:3000 akoskm/saas:latest
docker run -d --name saas_container --env-file .env -p 4000:4000 akoskm/saas:latest
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ COPY . .
# Build the app
RUN npm run build

ENV PORT=4000

# Start the app
CMD ["npm", "start"]

0 comments on commit 739142f

Please sign in to comment.