Skip to content

Commit

Permalink
🚑
Browse files Browse the repository at this point in the history
  • Loading branch information
kalicyh committed Aug 5, 2024
1 parent f665a55 commit fd6995b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ COPY pyproject.toml poetry.lock README.md ./
# Install dependencies using Poetry
RUN poetry config virtualenvs.create false && poetry install --no-dev

FROM python:3.12-slim AS runtime
FROM python:3.12-alpine AS runtime
WORKDIR /app
COPY --from=builder /usr/local/lib/python3.12/site-packages /usr/local/lib/python3.12/site-packages
COPY --from=builder /usr/local/bin/ /usr/local/bin/
Expand All @@ -37,6 +37,7 @@ COPY api/ ./api

# Copy the built Vue.js app into the FastAPI image
COPY --from=build /app/dist /app/dist
RUN pip install uvicorn

# Set environment variable
ENV DATABASE_URL=
Expand Down

0 comments on commit fd6995b

Please sign in to comment.