randomisedbackend2 / Dockerfile
akiko19191's picture
Upload folder using huggingface_hub
72eef4f verified
raw
history blame contribute delete
346 Bytes
FROM python:3.11
RUN useradd -m -u 1000 user
USER user
ENV PATH="/home/user/.local/bin:$PATH"
WORKDIR /app
COPY --chown=user ./requirements.txt requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
COPY --chown=user . /app
EXPOSE 7860
#ENTRYPOINT ["python"]
WORKDIR /app
ENTRYPOINT ["python","run.py"]