unfinity commited on
Commit
bf76511
·
1 Parent(s): 3f32a55

update dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -7
Dockerfile CHANGED
@@ -9,7 +9,7 @@ RUN pip install Pillow==10.3.0
9
  RUN pip install fastapi uvicorn
10
 
11
  # Streamlit
12
- RUN pip install streamlit
13
 
14
  # Fonts
15
  RUN apt update && apt install fonts-dejavu -y
@@ -21,9 +21,5 @@ RUN wget https://github.com/ultralytics/assets/releases/download/v8.2.0/yolov8l-
21
  COPY . /app
22
 
23
  USER root
24
- EXPOSE 8501
25
- CMD streamlit run app.py \
26
- --server.headless true \
27
- --server.enableCORS false \
28
- --server.enableXsrfProtection false \
29
- --server.fileWatcherType none
 
9
  RUN pip install fastapi uvicorn
10
 
11
  # Streamlit
12
+ # RUN pip install streamlit
13
 
14
  # Fonts
15
  RUN apt update && apt install fonts-dejavu -y
 
21
  COPY . /app
22
 
23
  USER root
24
+ EXPOSE 8000
25
+ CMD uvicorn app:app