Trigger82 commited on
Commit
fb101f4
Β·
verified Β·
1 Parent(s): 9a2f381

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -13,12 +13,10 @@ RUN mkdir -p /tmp/cache && chmod 777 /tmp/cache
13
  RUN apt-get update && apt-get install -y \
14
  build-essential \
15
  git \
16
- libgl1-mesa-glx \
17
  && rm -rf /var/lib/apt/lists/*
18
 
19
  WORKDIR /app
20
 
21
-
22
  COPY requirements.txt .
23
  RUN pip install --no-cache-dir -r requirements.txt
24
 
@@ -27,4 +25,4 @@ COPY . .
27
 
28
  EXPOSE 7860
29
 
30
- CMD ["python", "app.py"]
 
13
  RUN apt-get update && apt-get install -y \
14
  build-essential \
15
  git \
 
16
  && rm -rf /var/lib/apt/lists/*
17
 
18
  WORKDIR /app
19
 
 
20
  COPY requirements.txt .
21
  RUN pip install --no-cache-dir -r requirements.txt
22
 
 
25
 
26
  EXPOSE 7860
27
 
28
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]