joytou commited on
Commit
5fa706b
·
verified ·
1 Parent(s): 5ac8def

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -11,15 +11,15 @@ RUN apt-get install curl -y
11
  RUN apt-get install wget -y
12
  RUN apt-get install ffmpeg -y
13
 
14
- RUN git clone https://github.com/yinhw0210/dataAnalysis-backend.git .
15
 
16
  RUN chmod 777 -R /code
17
 
18
- RUN pip install -r requirements.txt
19
 
20
  COPY ./config.template.ini /code/config.ini
21
  COPY ./config.template.ini /config.ini
22
 
23
- RUN chmod +x deploy.sh
24
 
25
- CMD ["./deploy.sh", "7860", "0.0.0.0"]
 
11
  RUN apt-get install wget -y
12
  RUN apt-get install ffmpeg -y
13
 
14
+ RUN git clone https://github.com/yinhw0210/dataAnalysis-backend.git /code
15
 
16
  RUN chmod 777 -R /code
17
 
18
+ RUN pip install -r /code/requirements.txt
19
 
20
  COPY ./config.template.ini /code/config.ini
21
  COPY ./config.template.ini /config.ini
22
 
23
+ RUN chmod +x /code/deploy.sh
24
 
25
+ CMD ["/code/deploy.sh", "7860", "0.0.0.0"]