Skip to content

Commit

Permalink
try port 80
Browse files Browse the repository at this point in the history
  • Loading branch information
cipher982 committed May 13, 2024
1 parent cd30e8d commit 8991f19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ services:
- REACT_APP_BACKEND_URL=${BACKEND_URL}
container_name: frontend
ports:
- "3000:3000"
- "3000:80"
depends_on:
- backend
networks:
- app-network
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000"]
test: ["CMD", "curl", "-f", "http://localhost:80"]
interval: 30s
timeout: 10s
retries: 3
Expand Down
4 changes: 2 additions & 2 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ WORKDIR /app

COPY --from=build /app/build ./build

expose 3000
expose 80

CMD ["npx", "serve", "-s", "build", "-l", "3000"]
CMD ["npx", "serve", "-s", "build", "-l", "80"]

0 comments on commit 8991f19

Please sign in to comment.