mingru-stories / Dockerfile
damerajee's picture
Update Dockerfile
a39f8ba verified
raw
history blame contribute delete
325 Bytes
FROM python:3.10
WORKDIR /app
COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
RUN wget https://huggingface.co/damerajee/mingru/resolve/main/best_model_2.pt -O best_model.pt
RUN useradd -m -u 1000 user
USER user
COPY --chown=user . .
CMD ["python", "app.py"]