Przeglądaj źródła

Update Dockerfile

qiaofeng1227 2 lat temu
rodzic
commit
b54bd8485b
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      appmanage/Dockerfile

+ 2 - 2
appmanage/Dockerfile

@@ -10,7 +10,7 @@ COPY requirements.txt main.py  ./
 RUN pip install -r requirements.txt
 
 # Starts our application
-CMD ["uvicorn", "main:get_app", "--host", "0.0.0.0", "--port", "5000", "--log-level", "info"]
+CMD ["uvicorn", "main:get_app", "--host", "0.0.0.0", "--port", "8000", "--log-level", "info"]
 
 # Expose the port in which the application will be deployed
-EXPOSE 5000
+EXPOSE 8000