Skip to content

Commit

Permalink
upgrade dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
FeliceFranchini committed Dec 16, 2023
1 parent 386c644 commit 060f579
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ COPY setup.py /workdir/setup.py
COPY src /workdir/src
COPY models /workdir/models
COPY metrics /workdir/metrics
EXPOSE 80
CMD ["uvicorn", "src.api.api:app", "--host", "0.0.0.0", "--port", "8000"]
EXPOSE 8000
CMD ["uvicorn", "src.api.api:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]

0 comments on commit 060f579

Please sign in to comment.