Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -16,11 +16,11 @@ COPY ./start_service.sh /code/start_service.sh
|
|
| 16 |
#
|
| 17 |
COPY ./app /code/app
|
| 18 |
|
| 19 |
-
|
| 20 |
|
| 21 |
# RUN curl -fsSL https://ollama.com/install.sh | sh
|
| 22 |
|
| 23 |
-
|
| 24 |
|
| 25 |
# RUN nohup ollama serve & sleep 5
|
| 26 |
|
|
|
|
| 16 |
#
|
| 17 |
COPY ./app /code/app
|
| 18 |
|
| 19 |
+
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
|
| 20 |
|
| 21 |
# RUN curl -fsSL https://ollama.com/install.sh | sh
|
| 22 |
|
| 23 |
+
USER docker
|
| 24 |
|
| 25 |
# RUN nohup ollama serve & sleep 5
|
| 26 |
|