Spaces:
Sleeping
Sleeping
File size: 287 Bytes
c2b7494 | 1 2 3 4 5 6 7 8 9 10 | FROM python:3.12-slim
WORKDIR /app
COPY backend/requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY src /app/src
COPY backend /app/backend
ENV PORT=7860
EXPOSE 7860
CMD ["sh", "-c", "exec uvicorn backend.app:app --host 0.0.0.0 --port ${PORT}"]
|