keshavbhandari
commited on
Commit
•
494114d
1
Parent(s):
0a5be61
test
Browse files- Dockerfile +1 -1
- environment.yml +0 -2
- run.sh +2 -2
Dockerfile
CHANGED
@@ -6,7 +6,7 @@ COPY ./environment.yml /code/environment.yml
|
|
6 |
# Create the environment using the environment.yml file
|
7 |
RUN conda env create -f /code/environment.yml
|
8 |
|
9 |
-
RUN
|
10 |
|
11 |
# Set up a new user named "user" with user ID 1000
|
12 |
RUN useradd -m -u 1000 user
|
|
|
6 |
# Create the environment using the environment.yml file
|
7 |
RUN conda env create -f /code/environment.yml
|
8 |
|
9 |
+
RUN sudo apt-get install fluidsynth
|
10 |
|
11 |
# Set up a new user named "user" with user ID 1000
|
12 |
RUN useradd -m -u 1000 user
|
environment.yml
CHANGED
@@ -3,7 +3,5 @@ channels:
|
|
3 |
- conda-forge
|
4 |
dependencies:
|
5 |
- python=3.10
|
6 |
-
- fluidsynth
|
7 |
-
- pip
|
8 |
- pip:
|
9 |
- -r requirements.txt
|
|
|
3 |
- conda-forge
|
4 |
dependencies:
|
5 |
- python=3.10
|
|
|
|
|
6 |
- pip:
|
7 |
- -r requirements.txt
|
run.sh
CHANGED
@@ -3,8 +3,8 @@ CONDA_ENV=$(head -1 /code/environment.yml | cut -d" " -f2)
|
|
3 |
eval "$(conda shell.bash hook)"
|
4 |
conda activate $CONDA_ENV
|
5 |
|
6 |
-
# Install fluidsynth using conda
|
7 |
-
conda install conda-forge::fluidsynth
|
8 |
|
9 |
# Install pip packages
|
10 |
pip install -r requirements.txt
|
|
|
3 |
eval "$(conda shell.bash hook)"
|
4 |
conda activate $CONDA_ENV
|
5 |
|
6 |
+
# # Install fluidsynth using conda
|
7 |
+
# conda install conda-forge::fluidsynth
|
8 |
|
9 |
# Install pip packages
|
10 |
pip install -r requirements.txt
|