skillsync-cli / Dockerfile
Mr-Haseeb786
dockerfile
21ec376
Raw
History Blame Contribute Delete
621 Bytes
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"]