more docker fixes

This commit is contained in:
Sebarocks 2025-07-31 22:50:03 -04:00
parent e2bd322814
commit c4eebafff6
4 changed files with 9 additions and 10 deletions

View file

@ -28,8 +28,9 @@ COPY pyproject.toml uv.lock ./
# Install Python dependencies
RUN uv sync --frozen
# Copy backend source code
# Copy backend source code and .env file
COPY *.py ./
COPY .env ./
# Copy built frontend from previous stage
COPY --from=frontend-builder /app/frontend/dist ./frontend/dist
@ -38,4 +39,4 @@ COPY --from=frontend-builder /app/frontend/dist ./frontend/dist
EXPOSE 8000
# Run the application
CMD ["uv", "run", "app.py"]
CMD ["uv", "run", "app.py"]