Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -9,9 +9,6 @@ ENV HOME=/home/user \
|
|
9 |
PATH=/home/user/.local/bin:$PATH
|
10 |
|
11 |
WORKDIR $HOME/app
|
12 |
-
RUN chown -R user:user models
|
13 |
-
RUN chmod +w models
|
14 |
-
RUN chmod 777 models
|
15 |
|
16 |
WORKDIR /code
|
17 |
|
@@ -20,6 +17,9 @@ COPY ./requirements.txt /code/requirements.txt
|
|
20 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
21 |
|
22 |
COPY --chown=user . $HOME/app
|
|
|
|
|
|
|
23 |
|
24 |
COPY . .
|
25 |
|
|
|
9 |
PATH=/home/user/.local/bin:$PATH
|
10 |
|
11 |
WORKDIR $HOME/app
|
|
|
|
|
|
|
12 |
|
13 |
WORKDIR /code
|
14 |
|
|
|
17 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
18 |
|
19 |
COPY --chown=user . $HOME/app
|
20 |
+
RUN chown -R user:user models
|
21 |
+
RUN chmod +w models
|
22 |
+
RUN chmod 777 models
|
23 |
|
24 |
COPY . .
|
25 |
|