CoolFace
Apppublic

Ansilin/Career_Path_Predictor

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes
Dockerfile23 linesDownload Raw Back to root
1FROM python:3.10-slim2 3WORKDIR /app4 5RUN apt-get update6RUN apt-get install -y7RUN rm -rf /var/lib/apt/lists/*8 9COPY requirements.txt .10RUN pip install --no-cache-dir -r requirements.txt11RUN pip install --no-cache-dir gunicorn==22.0.012 13COPY app.py .14COPY model/ model/15COPY static/ static/16COPY templates/ templates/17 18ENV FLASK_APP=app.py19ENV PORT=786020 21EXPOSE 786022 23CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "2", "--timeout", "120", "app:app"]