Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +12 -5
Dockerfile
CHANGED
|
@@ -12,14 +12,21 @@ ENV PATH="/home/user/.local/bin:$PATH"
|
|
| 12 |
|
| 13 |
WORKDIR /app
|
| 14 |
|
| 15 |
-
# Copy
|
| 16 |
-
COPY --chown=user
|
| 17 |
|
|
|
|
| 18 |
RUN pip install --no-cache-dir --upgrade pip
|
| 19 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 20 |
|
| 21 |
-
#
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
|