Agent_week_6 / Dockerfile
Mohanp76's picture
fix: serve static frontend via FastAPI, switch to docker sdk
461ed71
Raw
History Blame Contribute Delete
242 Bytes
FROM python:3.12-slim
WORKDIR /app
COPY pyproject.toml uv.lock ./
COPY backend/ backend/
COPY frontend/dist/ frontend/dist/
RUN pip install uv && uv sync --no-dev
EXPOSE 7860
CMD uv run uvicorn backend.api:app --host 0.0.0.0 --port 7860