Skip to content

Commit

Permalink
Run fastapi prod on container port 8000 not 80
Browse files Browse the repository at this point in the history
  • Loading branch information
vpsx committed Nov 15, 2024
1 parent 8455036 commit e534ecc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY ./main.py /code/main.py
COPY ./adminpage.html /code/adminpage.html

CMD ["fastapi", "run", "main.py", "--port", "80"]
CMD ["fastapi", "run", "main.py", "--port", "8000"]
2 changes: 1 addition & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
intact-backend:
image: hicsail/intact-backend:main
ports:
- "1333:80"
- "1333:8000"
environment:
STUDY_URL_PREFIX: ${STUDY_URL_PREFIX}
DB_NAME: ${DB_NAME}
Expand Down

0 comments on commit e534ecc

Please sign in to comment.