Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +0 -8
Dockerfile
CHANGED
@@ -5,14 +5,6 @@ FROM python:3.8
|
|
5 |
|
6 |
RUN useradd -m -u 1000 user
|
7 |
USER user
|
8 |
-
# Set home to the user's home directory
|
9 |
-
ENV HOME=/home/user \
|
10 |
-
PATH=/home/user/.local/bin:$PATH
|
11 |
-
WORKDIR $HOME/app
|
12 |
-
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
13 |
-
COPY --chown=user . $HOME/app
|
14 |
-
ADD --chown=user ./.zeno_cache $HOME/app/.zeno_cache
|
15 |
-
RUN chown user:user -R $HOME/app
|
16 |
|
17 |
COPY ./requirements.txt /code/requirements.txt
|
18 |
|
|
|
5 |
|
6 |
RUN useradd -m -u 1000 user
|
7 |
USER user
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
COPY ./requirements.txt /code/requirements.txt
|
10 |
|