Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -11,7 +11,8 @@ WORKDIR /home/user/app
|
|
11 |
RUN pip install --no-cache-dir pip==22.3.1 && pip install --no-cache-dir datasets "huggingface-hub>=0.19" "hf-transfer>=0.1.4" "protobuf<4" "click<8.1" "pydantic~=1.0"
|
12 |
RUN pip freeze > /tmp/freeze.txt
|
13 |
RUN pip install --no-cache-dir gradio[oauth]==4.38.1 "uvicorn>=0.14.0" spaces
|
14 |
-
COPY --link --chown=user ./ /home/user/app
|
|
|
15 |
#EXPOSE 7860
|
16 |
RUN mkdir cache
|
17 |
#ENV TRANSFORMERS_CACHE=/home/user/app/cache (deprecated)
|
|
|
11 |
RUN pip install --no-cache-dir pip==22.3.1 && pip install --no-cache-dir datasets "huggingface-hub>=0.19" "hf-transfer>=0.1.4" "protobuf<4" "click<8.1" "pydantic~=1.0"
|
12 |
RUN pip freeze > /tmp/freeze.txt
|
13 |
RUN pip install --no-cache-dir gradio[oauth]==4.38.1 "uvicorn>=0.14.0" spaces
|
14 |
+
#COPY --link --chown=user ./ /home/user/app
|
15 |
+
COPY --link --chown=1001 ./ /home/user/app
|
16 |
#EXPOSE 7860
|
17 |
RUN mkdir cache
|
18 |
#ENV TRANSFORMERS_CACHE=/home/user/app/cache (deprecated)
|