Namo22 commited on
Commit
893a138
1 Parent(s): ac46598

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -11,7 +11,9 @@ RUN apt-get update && apt-get install -y portaudio19-dev
11
  COPY ./requirements.txt /code/requirements.txt
12
 
13
  # Install the Python dependencies
14
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
 
 
15
 
16
  # Copy the current directory contents into the container at /code
17
  COPY . .
 
11
  COPY ./requirements.txt /code/requirements.txt
12
 
13
  # Install the Python dependencies
14
+ RUN python -m venv .env \
15
+ && . .env/bin/activate \
16
+ && pip install --no-cache-dir --upgrade -r /code/requirements.txt
17
 
18
  # Copy the current directory contents into the container at /code
19
  COPY . .