Spaces:
Sleeping
Sleeping
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV PORT=7860 | |
| WORKDIR /app | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| COPY vendor ./vendor | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| RUN mkdir -p outputs/web_app_runs | |
| RUN python -m scripts.precompute_theme_lab_markov | |
| EXPOSE 7860 | |
| CMD ["python", "-m", "apps.theme_lab.app"] | |