Spaces:
Sleeping
Sleeping
update docker
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
-
|
2 |
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
3 |
# you will also find guides on how best to write your Dockerfile
|
4 |
-
|
|
|
|
|
5 |
RUN useradd -m -u 1000 user
|
6 |
USER user
|
7 |
# Set home to the user's home directory
|
@@ -17,4 +18,5 @@ COPY ./requirements.txt /code/requirements.txt
|
|
17 |
|
18 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
19 |
|
|
|
20 |
CMD ["zeno", "config.toml"]
|
|
|
|
|
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.8
|
5 |
+
|
6 |
RUN useradd -m -u 1000 user
|
7 |
USER user
|
8 |
# Set home to the user's home directory
|
|
|
18 |
|
19 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
20 |
|
21 |
+
|
22 |
CMD ["zeno", "config.toml"]
|