Spaces:
Sleeping
Sleeping
Yann
commited on
Commit
·
8678a61
1
Parent(s):
15975c4
added dockerfile
Browse files- .gitignore +4 -0
- Dockerfile +34 -0
- output.xml +1 -0
.gitignore
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
dist/*
|
2 |
+
front/dist/assets/index-qa9lc3mr.js
|
3 |
+
front/dist/vite.svg
|
4 |
+
front/dist/index.html
|
Dockerfile
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Use the official Python 3.9 image
|
2 |
+
FROM nikolaik/python-nodejs:python3.11-nodejs21
|
3 |
+
|
4 |
+
# Copy the current directory contents into the container
|
5 |
+
COPY . /app
|
6 |
+
|
7 |
+
# Go into the front directory
|
8 |
+
WORKDIR /app/front
|
9 |
+
|
10 |
+
# RUN chmod -R 777 /app/*
|
11 |
+
|
12 |
+
# Run npm install
|
13 |
+
RUN npm install
|
14 |
+
|
15 |
+
RUN npm run build
|
16 |
+
|
17 |
+
# Go back to the root directory
|
18 |
+
WORKDIR /app
|
19 |
+
|
20 |
+
# Go into the api directory
|
21 |
+
WORKDIR /app/back
|
22 |
+
|
23 |
+
RUN apt-get update
|
24 |
+
|
25 |
+
RUN apt-get install cmake -y
|
26 |
+
|
27 |
+
RUN apt-get install 'ffmpeg' -y
|
28 |
+
|
29 |
+
# Install requirements.txt
|
30 |
+
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
31 |
+
|
32 |
+
EXPOSE 7860
|
33 |
+
|
34 |
+
CMD ["python", "main.py"]
|
output.xml
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
<tal curprogram="0" version="1.7" presetName="CH Chordionator III FN" path="Factory Presets/CHORD/CH Chordionator III FN.noisemakerpreset"><programs><program programname="CH Chordionator III FN" unknown="0.5" volume="0" -="0" filtertype="0.63636364" cutoff="0.6666666666666666" resonance="0.9333333333333333" keyfollow="0.26666666666666666" filtercontour="0.06666666666666667" filterattack="0.13333333333333333" filterdecay="0.26666666666666666" filtersustain="0.3333333333333333" filterrelease="0.13333333333333333" ampattack="0.8" ampdecay="1.0" ampsustain="0.4666666666666667" amprelease="0.13333333333333333" osc1volume="0.26666666666666666" osc2volume="0.9333333333333333" osc3volume="0.3333333333333333" oscmastertune="0" osc1tune="0.6" osc2tune="0.8" osc1finetune="0.6666666666666666" osc2finetune="0.2" osc1waveform="0.0" osc2waveform="0.5" oscsync="1.0" lfo1waveform="0.6" lfo2waveform="1.0" lfo1rate="0.6666666666666666" lfo2rate="0.9333333333333333" lfo1amount="0.06666666666666667" lfo2amount="1.0" lfo1destination="0.2857142857142857" lfo2destination="0.14285714285714285" lfo1phase="0.8666666666666667" lfo2phase="0.9333333333333333" osc2fm="0.4" osc2phase="0.4666666666666667" osc1pw="0.7333333333333333" osc1phase="0.5333333333333333" transpose="0" freeadattack="0.3333333333333333" freeaddecay="0.26666666666666666" freeadamount="0.5333333333333333" freeaddestination="0.2" lfo1sync="1.0" lfo1keytrigger="0" lfo2sync="0.0" lfo2keytrigger="0" portamento="0" portamentomode="0" voices="0" velocityvolume="0" velocitycontour="0" velocitycutoff="0" pitchwheelcutoff="0" pitchwheelpitch="0" ringmodulation="0.4666666666666667" chorus1enable="0.0" chorus2enable="1.0" reverbwet="0.4" reverbdecay="0.8666666666666667" reverbpredelay="0.5333333333333333" reverbhighcut="0.4666666666666667" reverblowcut="0.4666666666666667" oscbitcrusher="0.2" highpass="0.06666666666666667" detune="0.13333333333333333" vintagenoise="0.9333333333333333" envelopeeditordest1="0" envelopeeditorspeed="0" envelopeeditoramount="0" envelopeoneshot="0" envelopefixtempo="0" filterdrive="0.0" delaywet="0.13333333333333333" delaytime="1.0" delaysync="1.0" delayfactorl="0.0" delayfactorr="0.0" delayhighshelf="0.4666666666666667" delaylowshelf="1.0" delayfeedback="0.5333333333333333" /></programs><midimap /></tal>
|