alschameri/helping-source
0
1# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker2# you will also find guides on how best to write your Dockerfile3 4FROM python:3.105 6RUN useradd -m -u 1000 user7USER user8ENV PATH="/home/user/.local/bin:$PATH"9 10WORKDIR /app11 12COPY --chown=user ./requirements.txt requirements.txt13RUN pip install --no-cache-dir --upgrade pip \14 && pip install --no-cache-dir --upgrade -r requirements.txt15COPY --chown=user . /app16CMD ["gunicorn","-b", "0.0.0.0:7860", "app:app"]17 