modified Dockerfile to deal with permission
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -8,9 +8,9 @@ ENV HOME=/home/user \
|
|
8 |
|
9 |
WORKDIR $HOME/app
|
10 |
|
11 |
-
RUN pip install --no-cache-dir
|
12 |
-
|
13 |
COPY --chown=user . $HOME/app
|
|
|
14 |
|
15 |
EXPOSE 7860
|
16 |
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
|
|
8 |
|
9 |
WORKDIR $HOME/app
|
10 |
|
11 |
+
RUN pip install --no-cache-dir --upgrade pip
|
|
|
12 |
COPY --chown=user . $HOME/app
|
13 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
14 |
|
15 |
EXPOSE 7860
|
16 |
ENV GRADIO_SERVER_NAME="0.0.0.0"
|