Spaces:
Sleeping
Sleeping
File size: 465 Bytes
187bf9a 8b54dab 187bf9a bfc1297 187bf9a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 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"]
|