Spaces:
Running
Running
File size: 379 Bytes
c2fa6a6 8aab48e c2fa6a6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | FROM python:3.11-slim
RUN apt-get update && apt-get install -y \
libgomp1 \
git \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements_space.txt .
RUN pip install --no-cache-dir -r requirements_space.txt
COPY src/ ./src/
COPY api/ ./api/
COPY app.py .
COPY start.sh .
RUN mkdir -p logs reports data
EXPOSE 7860
RUN chmod +x start.sh
CMD ["./start.sh"] |