Skip to content

Commit

Permalink
fix: ports
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefanie-A committed Oct 28, 2024
1 parent f9424e6 commit 0e82aed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ RUN pip install -r requirements.txt

COPY ./app/api.py .

CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "80", "--reload"]
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "8080", "--reload"]
2 changes: 2 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ services:
image: nginx:latest
container_name: nginx
network_mode: "host"
ports:
- 80:80
volumes:
- ./nginx/conf.d/default.conf:/etc/nginx/sites-available/default

0 comments on commit 0e82aed

Please sign in to comment.