more docker fixes
This commit is contained in:
parent
e2bd322814
commit
c4eebafff6
4 changed files with 9 additions and 10 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue