HoneyTian commited on
Commit
7867a4e
1 Parent(s): 918dbee
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -7,8 +7,9 @@ COPY . /data/GolandProjects/vad_go
7
  RUN apt-get update
8
  RUN apt-get install -y python3-pip python3-venv
9
 
10
- RUN python3 -m venv vad_go && source vad_go/bin/activate
11
- # RUN source vad_go/bin/activate
 
12
 
13
  RUN pip install --upgrade pip
14
  RUN pip install --no-cache-dir --upgrade -r /data/GolandProjects/vad_go/requirements.txt
 
7
  RUN apt-get update
8
  RUN apt-get install -y python3-pip python3-venv
9
 
10
+ RUN python3 -m venv vad_go_venv
11
+ # RUN source vad_go_venv/bin/activate
12
+ ENV PATH="vad_go_venv/bin:$PATH"
13
 
14
  RUN pip install --upgrade pip
15
  RUN pip install --no-cache-dir --upgrade -r /data/GolandProjects/vad_go/requirements.txt