Spaces:
Running
on
Zero
Running
on
Zero
keshavbhandari
commited on
Commit
•
9da06d3
1
Parent(s):
5749979
bug fix
Browse files- Dockerfile +3 -0
- setup.txt +0 -9
Dockerfile
CHANGED
@@ -4,6 +4,9 @@ FROM continuumio/anaconda3:main
|
|
4 |
# Install fluidsynth
|
5 |
RUN apt-get update && apt-get install -y fluidsynth
|
6 |
|
|
|
|
|
|
|
7 |
# Copy the current directory contents into the container
|
8 |
COPY . /app
|
9 |
|
|
|
4 |
# Install fluidsynth
|
5 |
RUN apt-get update && apt-get install -y fluidsynth
|
6 |
|
7 |
+
# Download the soundfont file
|
8 |
+
RUN wget -O /app/soundfont.sf https://www.dropbox.com/scl/fi/t8gou8stesm42sc559nzu/DoreMarkYamahaS6-v1.6.sf2?rlkey=28ecl63kkjjmwxrkd6hnzsq8f&dl=0
|
9 |
+
|
10 |
# Copy the current directory contents into the container
|
11 |
COPY . /app
|
12 |
|
setup.txt
CHANGED
@@ -7,15 +7,6 @@ if os.path.isfile(requirement_path):
|
|
7 |
setup(name="mypackage", install_requires=install_requires, [...])
|
8 |
|
9 |
|
10 |
-
import subprocess
|
11 |
-
|
12 |
-
# Command to download the soundfont file
|
13 |
-
command = "wget -O soundfont.sf https://www.dropbox.com/scl/fi/t8gou8stesm42sc559nzu/DoreMarkYamahaS6-v1.6.sf2?rlkey=28ecl63kkjjmwxrkd6hnzsq8f&dl=0"
|
14 |
-
|
15 |
-
# Run the command
|
16 |
-
subprocess.run(command, shell=True, check=True)
|
17 |
-
|
18 |
-
|
19 |
import subprocess
|
20 |
# Run the apt-get command
|
21 |
try:
|
|
|
7 |
setup(name="mypackage", install_requires=install_requires, [...])
|
8 |
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
import subprocess
|
11 |
# Run the apt-get command
|
12 |
try:
|