Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
@@ -6,6 +6,11 @@ COPY ./requirements.txt /code/requirements.txt
|
|
6 |
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
|
|
|
|
|
|
|
|
|
|
|
9 |
COPY ./Meta-Llama-3-8B-Instruct-Q4_K_M.gguf /code/Meta-Llama-3-8B-Instruct-Q4_K_M.gguf
|
10 |
COPY ./main.py /code/main.py
|
11 |
|
|
|
6 |
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
|
9 |
+
RUN useradd -m -u 1000 user
|
10 |
+
USER user
|
11 |
+
ENV HOME=/home/user \
|
12 |
+
PATH=/home/user/.local/bin:$PATH
|
13 |
+
|
14 |
COPY ./Meta-Llama-3-8B-Instruct-Q4_K_M.gguf /code/Meta-Llama-3-8B-Instruct-Q4_K_M.gguf
|
15 |
COPY ./main.py /code/main.py
|
16 |
|