uvi
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
|
@@ -13,9 +13,9 @@ COPY . .
|
|
| 13 |
|
| 14 |
# RUN mkdir -p ./cache
|
| 15 |
### Update permissions for the app
|
| 16 |
-
USER root
|
| 17 |
-
RUN chmod 777 $PWD
|
| 18 |
-
USER user
|
| 19 |
|
| 20 |
-
|
| 21 |
-
CMD [ "python", "app.py" ]
|
|
|
|
| 13 |
|
| 14 |
# RUN mkdir -p ./cache
|
| 15 |
### Update permissions for the app
|
| 16 |
+
# USER root
|
| 17 |
+
# RUN chmod 777 $PWD
|
| 18 |
+
# USER user
|
| 19 |
|
| 20 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
| 21 |
+
# CMD [ "python", "app.py" ]
|