Spaces:
Runtime error
Runtime error
Debug
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,6 +1,8 @@
|
|
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 |
# Set up a new user named "user" with user ID 1000
|
5 |
RUN useradd -m -u 1000 user
|
6 |
|
@@ -17,8 +19,6 @@ WORKDIR $HOME/app
|
|
17 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
18 |
COPY --chown=user . $HOME/app
|
19 |
|
20 |
-
FROM python:3.10.9
|
21 |
-
|
22 |
WORKDIR /code
|
23 |
|
24 |
COPY ./requirements.txt /code/requirements.txt
|
|
|
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.10.9
|
5 |
+
|
6 |
# Set up a new user named "user" with user ID 1000
|
7 |
RUN useradd -m -u 1000 user
|
8 |
|
|
|
19 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
20 |
COPY --chown=user . $HOME/app
|
21 |
|
|
|
|
|
22 |
WORKDIR /code
|
23 |
|
24 |
COPY ./requirements.txt /code/requirements.txt
|