keshavbhandari commited on
Commit
7593a72
1 Parent(s): d32037b
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. post_install.py +0 -13
Dockerfile CHANGED
@@ -4,7 +4,7 @@ WORKDIR /code
4
  COPY ./environment.yml /code/environment.yml
5
 
6
  # Create the environment using the environment.yml file
7
- # RUN conda env create -f /code/environment.yml
8
 
9
  # Set up a new user named "user" with user ID 1000
10
  RUN useradd -m -u 1000 user
 
4
  COPY ./environment.yml /code/environment.yml
5
 
6
  # Create the environment using the environment.yml file
7
+ RUN conda env create -f /code/environment.yml
8
 
9
  # Set up a new user named "user" with user ID 1000
10
  RUN useradd -m -u 1000 user
post_install.py DELETED
@@ -1,13 +0,0 @@
1
- import subprocess
2
- import sys
3
-
4
- def install_fluidsynth():
5
- try:
6
- subprocess.check_call([
7
- 'conda', 'install', '-c', 'conda-forge', 'fluidsynth', '-y'
8
- ])
9
- except subprocess.CalledProcessError as e:
10
- sys.exit(e.returncode)
11
-
12
- if __name__ == "__main__":
13
- install_fluidsynth()