Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -7
Dockerfile
CHANGED
|
@@ -1,12 +1,9 @@
|
|
| 1 |
-
# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
| 2 |
-
# you will also find guides on how best to write your Dockerfile
|
| 3 |
-
|
| 4 |
FROM python:3.13
|
| 5 |
|
| 6 |
-
RUN useradd -m -u 1000 ollama
|
| 7 |
-
USER user
|
| 8 |
-
ENV PATH="/home/user/.local/bin:$PATH"
|
| 9 |
-
ENV DIST_DIR=/src
|
| 10 |
WORKDIR $DIST_DIR
|
| 11 |
|
| 12 |
COPY --chown=user ./requirements.txt ./requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
FROM python:3.13
|
| 2 |
|
| 3 |
+
# RUN useradd -m -u 1000 ollama
|
| 4 |
+
# USER user
|
| 5 |
+
# ENV PATH="/home/user/.local/bin:$PATH"
|
| 6 |
+
# ENV DIST_DIR=/src
|
| 7 |
WORKDIR $DIST_DIR
|
| 8 |
|
| 9 |
COPY --chown=user ./requirements.txt ./requirements.txt
|