Update Dockerfile
Browse files- Dockerfile +7 -2
Dockerfile
CHANGED
|
@@ -1,16 +1,21 @@
|
|
| 1 |
FROM python:3.9
|
| 2 |
|
| 3 |
RUN useradd -m -u 1000 user
|
|
|
|
| 4 |
USER user
|
|
|
|
| 5 |
ENV PATH="/home/user/.local/bin:$PATH"
|
| 6 |
|
| 7 |
WORKDIR /app
|
| 8 |
|
| 9 |
-
# Download with
|
| 10 |
-
RUN wget https://huggingface.co/cigol123/
|
| 11 |
|
| 12 |
COPY --chown=user ./requirements.txt requirements.txt
|
|
|
|
| 13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 14 |
|
| 15 |
COPY --chown=user . /app
|
|
|
|
| 16 |
CMD ["python", "app.py"]
|
|
|
|
|
|
| 1 |
FROM python:3.9
|
| 2 |
|
| 3 |
RUN useradd -m -u 1000 user
|
| 4 |
+
|
| 5 |
USER user
|
| 6 |
+
|
| 7 |
ENV PATH="/home/user/.local/bin:$PATH"
|
| 8 |
|
| 9 |
WORKDIR /app
|
| 10 |
|
| 11 |
+
# Download with correct filename
|
| 12 |
+
RUN wget https://huggingface.co/cigol123/YugoGPT-Q4_0-GGUF/resolve/main/yugogpt-q4_0.gguf
|
| 13 |
|
| 14 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 15 |
+
|
| 16 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 17 |
|
| 18 |
COPY --chown=user . /app
|
| 19 |
+
|
| 20 |
CMD ["python", "app.py"]
|
| 21 |
+
|