Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit

Permalink
feat: add proxy headers
Browse files Browse the repository at this point in the history
  • Loading branch information
jonafeucht committed May 4, 2024
1 parent 4d29cd2 commit 8976d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ WORKDIR /app
COPY . /app
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu
CMD ["fastapi", "run", "main.py", "--host", "0.0.0.0", "--port", "8000"]
CMD ["fastapi", "run", "main.py", "--proxy-headers", "--host", "0.0.0.0", "--port", "8000"]

0 comments on commit 8976d65

Please sign in to comment.