2cylu2 commited on
Commit
5f4d77c
·
verified ·
1 Parent(s): e5edbcb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -5
Dockerfile CHANGED
@@ -12,14 +12,21 @@ ENV PATH="/home/user/.local/bin:$PATH"
12
 
13
  WORKDIR /app
14
 
15
- # Copy requirements first (better Docker caching)
16
- COPY --chown=user requirements.txt requirements.txt
17
 
 
18
  RUN pip install --no-cache-dir --upgrade pip
19
- RUN pip install --no-cache-dir -r requirements.txt
20
 
21
- # Copy entire repo (including pyharp folder)
22
- COPY --chown=user . /app
 
 
 
 
 
 
 
23
 
24
  EXPOSE 7860
25
 
 
12
 
13
  WORKDIR /app
14
 
15
+ # Copy everything first (including pyharp folder)
16
+ COPY --chown=user . /app
17
 
18
+ # Upgrade pip
19
  RUN pip install --no-cache-dir --upgrade pip
 
20
 
21
+ # Install pyharp (IMPORTANT)
22
+ RUN pip install --no-cache-dir -e ./pyharp
23
+
24
+ # Install other dependencies
25
+ RUN pip install --no-cache-dir \
26
+ gradio \
27
+ matchering \
28
+ symusic \
29
+ git+https://github.com/descriptinc/audiotools
30
 
31
  EXPOSE 7860
32