Spaces:
Paused
Paused
File size: 621 Bytes
21ec376 56c7b6d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | FROM python:3.13.4-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV PORT=7860
WORKDIR /app
RUN apt-get update && apt-get install -y \
build-essential \
wget \
curl \
&& rm -rf /var/lib/apt/lists/*
COPY f_requirements.txt .
RUN pip install --upgrade pip && \
pip install --no-cache-dir -r f_requirements.txt
RUN python -c "import nltk; nltk.download('stopwords'); nltk.download('punkt'); nltk.download('punkt_tab')"
COPY . .
RUN mkdir -p .runtime/uploads/cvs .runtime/uploads/jobs .runtime/uploads/session_state && \
chmod -R 777 .runtime
EXPOSE 7860
CMD ["python", "app_new.py"] |