Spaces:
Runtime error
Runtime error
File size: 260 Bytes
3291500 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p data logs
ENV CLOUD=1
ENV PORT=7860
ENV LANG=C.UTF-8
ENV PYTHONIOENCODING=utf-8
EXPOSE 7860
CMD ["python", "src/web.py"]
|