tueniuu commited on
Commit
d30176d
·
verified ·
1 Parent(s): 78fefe8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -6
Dockerfile CHANGED
@@ -2,11 +2,6 @@ FROM python:3.10-slim
2
 
3
  WORKDIR /app
4
 
5
- # Install system deps if needed later (optional)
6
- RUN apt-get update && apt-get install -y \
7
- build-essential \
8
- && rm -rf /var/lib/apt/lists/*
9
-
10
  COPY requirements.txt .
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
@@ -14,4 +9,4 @@ COPY . .
14
 
15
  EXPOSE 7860
16
 
17
- CMD ["uvicorn", "backend.app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
2
 
3
  WORKDIR /app
4
 
 
 
 
 
 
5
  COPY requirements.txt .
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
 
9
 
10
  EXPOSE 7860
11
 
12
+ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]