Rixf123 commited on
Commit
f0f7e2e
·
verified ·
1 Parent(s): 09d6fc3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -4
Dockerfile CHANGED
@@ -1,17 +1,14 @@
1
  FROM python:3.10-slim
2
 
3
- # Required for building dependencies like tokenizers/pydantic in slim images
4
  RUN apt-get update && apt-get install -y \
5
  build-essential \
 
6
  && rm -rf /var/lib/apt/lists/*
7
 
8
  WORKDIR /app
9
-
10
  COPY requirements.txt .
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
  COPY app.py .
14
-
15
  EXPOSE 7860
16
-
17
  CMD ["python", "app.py"]
 
1
  FROM python:3.10-slim
2
 
 
3
  RUN apt-get update && apt-get install -y \
4
  build-essential \
5
+ curl \
6
  && rm -rf /var/lib/apt/lists/*
7
 
8
  WORKDIR /app
 
9
  COPY requirements.txt .
10
  RUN pip install --no-cache-dir -r requirements.txt
11
 
12
  COPY app.py .
 
13
  EXPOSE 7860
 
14
  CMD ["python", "app.py"]