juancopi81 commited on
Commit
f3fc5f2
1 Parent(s): 2fd0675

Change image to ubuntu20.04

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -1,13 +1,13 @@
1
- FROM python:3.9
2
 
3
  WORKDIR /code
4
 
5
  COPY ./requirements.txt /code/requirements.txt
6
 
7
  RUN apt-get update -qq && \
8
- apt-get install -qq libfluidsynth build-essential libasound2-dev libjack-dev
9
 
10
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
12
  # Set up a new user named "user" with user ID 1000
13
  RUN useradd -m -u 1000 user
@@ -25,4 +25,4 @@ WORKDIR $HOME/app
25
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
26
  COPY --chown=user . $HOME/app
27
 
28
- CMD ["python", "main.py"]
 
1
+ FROM ubuntu:20.04
2
 
3
  WORKDIR /code
4
 
5
  COPY ./requirements.txt /code/requirements.txt
6
 
7
  RUN apt-get update -qq && \
8
+ apt-get install -qq python3-pip libfluidsynth build-essential libasound2-dev libjack-dev
9
 
10
+ RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
12
  # Set up a new user named "user" with user ID 1000
13
  RUN useradd -m -u 1000 user
 
25
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
26
  COPY --chown=user . $HOME/app
27
 
28
+ CMD ["python3", "main.py"]