Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -29,12 +29,12 @@ COPY ./requirements.txt .
|
|
29 |
# RUN pip install torch transformers -U
|
30 |
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
31 |
|
32 |
-
USER
|
33 |
|
34 |
EXPOSE 5000
|
35 |
|
36 |
-
ENV HOME=/home/
|
37 |
-
PATH=/home/
|
38 |
|
39 |
|
40 |
WORKDIR $HOME/app
|
|
|
29 |
# RUN pip install torch transformers -U
|
30 |
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
31 |
|
32 |
+
USER user
|
33 |
|
34 |
EXPOSE 5000
|
35 |
|
36 |
+
ENV HOME=/home/user \
|
37 |
+
PATH=/home/user/.local/bin:$PATH
|
38 |
|
39 |
|
40 |
WORKDIR $HOME/app
|