Skip to content

Fix dockerfile - #706

Merged
fmell merged 2 commits into
mainfrom
fix_dockerfile
May 21, 2026
Merged

Fix dockerfile#706
fmell merged 2 commits into
mainfrom
fix_dockerfile

Conversation

@fmell

@fmell fmell commented May 21, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the backend Dockerfiles to improve copy semantics for the local build and to set UV_NO_CACHE=1 in both the local and production images.

Changes:

  • Update backend/Dockerfile.local to copy pyproject.toml/uv.lock and the repo contents using ./ and . relative to WORKDIR.
  • Add ENV UV_NO_CACHE=1 to both backend/Dockerfile.local and backend/Dockerfile.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
backend/Dockerfile.local Adjusts COPY destinations relative to WORKDIR and adds UV_NO_CACHE.
backend/Dockerfile Adds UV_NO_CACHE environment variable.
Comments suppressed due to low confidence (1)

backend/Dockerfile:23

  • EXPOSE 8001 does not match the port the container actually listens on: /app/entrypoint starts uvicorn with --port 8000, and radixconfig.yaml also targets port 8000. This mismatch can break routing/health checks. Align these by exposing 8000 (or changing the entrypoint/app port to 8001) consistently across the production Dockerfile and deployment config.
EXPOSE 8001

ENV UV_NO_CACHE=1
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread backend/Dockerfile.local
Comment thread backend/Dockerfile
@fmell
fmell merged commit 7cde60f into main May 21, 2026
11 checks passed
@fmell
fmell deleted the fix_dockerfile branch May 21, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants