Chat-1 / Dockerfile
crystalkalem's picture
Update Dockerfile
0801bec verified
raw
history blame
No virus
338 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/mradermacher/NSFW-flash-GGUF/resolve/main/NSFW-flash.f16.gguf -O model.gguf
RUN useradd -m -u 1000 user
USER user
COPY --chown=user . .
CMD ["python", "app.py"]