Team Ai
Apppublic

chnmayp/Pizza_Price_Prediction_Using_Machine_Learning

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
Dockerfile17 linesDownload Raw Back to root
1# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
2# you will also find guides on how best to write your Dockerfile
3
4FROM python:3.7
5
6RUN useradd -m -u 1000 user
7USER user
8ENV PATH="/home/user/.local/bin:$PATH"
9
10WORKDIR /app
11
12COPY --chown=user ./requirements.txt requirements.txt
13RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
15COPY --chown=user . /app
16CMD ["gunicorn", "app:app", "-b", "0.0.0.0:7860"]
17