Nice
commited on
Update Dockerfile
Browse files- 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
|
| 12 |
|
| 13 |
WORKDIR /Youcom_api
|
| 14 |
|
| 15 |
EXPOSE 7860
|
| 16 |
|
| 17 |
-
CMD
|
|
|
|
| 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
|