Nice commited on
Commit
aa9f0d4
·
verified ·
1 Parent(s): 4e8ce7c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -7,11 +7,11 @@ RUN apk update && \
7
 
8
  RUN git clone https://github.com/len-ni/Youcom_api && \
9
  cd Youcom_api && \
10
- sed -i "s/debug=True/host='0.0.0.0'/g" api.py && \
11
- pip install -r requirements.txt && pip install gunicorn
12
 
13
  WORKDIR /Youcom_api
14
 
15
  EXPOSE 7860
16
 
17
- CMD gunicorn -w 4 -b 0.0.0.0:7860 api:app
 
7
 
8
  RUN git clone https://github.com/len-ni/Youcom_api && \
9
  cd Youcom_api && \
10
+ sed -i "s/debug=True, port=50600/host='0.0.0.0', port=7860/g" api.py && \
11
+ pip install -r requirements.txt
12
 
13
  WORKDIR /Youcom_api
14
 
15
  EXPOSE 7860
16
 
17
+ CMD python api.py