Spaces:
Runtime error
Runtime error
FROM python:3.11.9 AS builder | |
ENV PYTHONUNBUFFERED=1 \ | |
PYTHONDONTWRITEBYTECODE=1 | |
WORKDIR /app | |
RUN python -m venv .venv | |
COPY requirements.txt ./ | |
RUN .venv/bin/pip install -r requirements.txt | |
FROM python:3.11.9-slim | |
WORKDIR /app | |
COPY --from=builder /app/.venv .venv/ | |
COPY . . | |
CMD ["/app/.venv/bin/streamlit", "run", "app.py"] | |