Skip to content

Commit

Permalink
Chore: Update app port to be 7000
Browse files Browse the repository at this point in the history
  • Loading branch information
aridanemartin committed Jul 5, 2024
1 parent 3ad57a1 commit ff108dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
sudo docker load --input ~/gatos-sin-hogar-backend.tar
sudo docker stop gatos-sin-hogar-backend || true
sudo docker rm gatos-sin-hogar-backend || true
sudo docker run -d --name gatos-sin-hogar-backend -p 80:7000 \
sudo docker run -d --name gatos-sin-hogar-backend -p 7000:7000 \
--env NODE_ENV=${{ secrets.NODE_ENV }} \
--env PORT=${{ secrets.PORT }} \
--env DB_PORT=${{ secrets.DB_PORT }} \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN npm install
COPY . .

# Expose the port the app runs on
EXPOSE 8080
EXPOSE 7000

# Define the command to run the app
CMD ["npm", "run", "start"]

0 comments on commit ff108dc

Please sign in to comment.