Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 2025/efficient-python-dockerfile/Dockerfile.06_uv
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ COPY . .

RUN uv sync

ENV PATH="/app/.venv/bin:{$PATH}"
ENV PATH="/app/.venv/bin:${PATH}"

# Expose the specified port for FastAPI
EXPOSE $PORT

# Start the application with Uvicorn in production mode, using environment variable references
CMD ["uvicorn", "src.main:app", "--log-level", "info", "--host", "0.0.0.0" , "--port", "8080"]
CMD ["uvicorn", "src.main:app", "--log-level", "info", "--host", "0.0.0.0" , "--port", "8080"]