Spaces:
Sleeping
Sleeping
Modified Docker file
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -8,8 +8,12 @@ RUN mkdir -p /.cache/huggingface/hub && \
|
|
8 |
|
9 |
COPY ./requirements.txt /code/requirements.txt
|
10 |
|
|
|
|
|
11 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
12 |
|
13 |
COPY . .
|
14 |
|
|
|
|
|
15 |
CMD ["gunicorn","-b", "0.0.0.0:7860", "app:app"]
|
|
|
8 |
|
9 |
COPY ./requirements.txt /code/requirements.txt
|
10 |
|
11 |
+
RUN chown -R user:user /code
|
12 |
+
|
13 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
14 |
|
15 |
COPY . .
|
16 |
|
17 |
+
COPY --chown=user:user . /code
|
18 |
+
|
19 |
CMD ["gunicorn","-b", "0.0.0.0:7860", "app:app"]
|