Natthathida commited on
Commit
6270733
·
verified ·
1 Parent(s): c5ae2a8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -7
Dockerfile CHANGED
@@ -22,7 +22,7 @@ COPY ./requirements.txt /code/requirements.txt
22
 
23
  RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
24
 
25
- COPY --chown=user:user .
26
 
27
  EXPOSE 5000
28
 
@@ -61,16 +61,10 @@ COPY . .
61
  # && find /app/cache/hub/hub/hub/models--suno--bark/refs/main -type d -exec chmod u+rwx {} \;
62
 
63
  RUN chmod -R u+rwX /app/cache/hub
64
- # RUN chmod -R u+rwX /app/cache/hub/hub
65
- # RUN chmod -R u+rwX /app/cache/hub/hub/hub
66
 
67
  RUN ls -al /app/cache/hub/
68
- # RUN ls -al /app/cache/hub/hub/hub/
69
- # RUN ls -al /app/cache/hub/hub/models--suno--bark/refs/
70
 
71
  ENV HF_HOME=/app/cache/hub/
72
- # ENV HF_HOME=/app/cache/hub/hub
73
- # ENV HF_HOME=/app/cache/hub/hub/hub
74
 
75
  CMD ["python", "app.py"]
76
 
 
22
 
23
  RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
24
 
25
+ COPY --chown=user:user . /code/
26
 
27
  EXPOSE 5000
28
 
 
61
  # && find /app/cache/hub/hub/hub/models--suno--bark/refs/main -type d -exec chmod u+rwx {} \;
62
 
63
  RUN chmod -R u+rwX /app/cache/hub
 
 
64
 
65
  RUN ls -al /app/cache/hub/
 
 
66
 
67
  ENV HF_HOME=/app/cache/hub/
 
 
68
 
69
  CMD ["python", "app.py"]
70