arshtech commited on
Commit
ee64209
·
verified ·
1 Parent(s): 598bbfb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -5
Dockerfile CHANGED
@@ -2,14 +2,13 @@ FROM python:3.10-slim
2
 
3
  WORKDIR /app
4
 
5
- RUN apt-get update && apt-get install -y \
6
- gcc \
7
- && rm -rf /var/lib/apt/lists/*
8
 
9
  COPY requirements.txt .
10
- RUN pip install --no-cache-dir --upgrade pip
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
  COPY . .
14
 
15
- CMD python app.py
 
 
 
2
 
3
  WORKDIR /app
4
 
5
+ RUN apt-get update && apt-get install -y gcc python3-dev
 
 
6
 
7
  COPY requirements.txt .
 
8
  RUN pip install --no-cache-dir -r requirements.txt
9
 
10
  COPY . .
11
 
12
+ EXPOSE 7860
13
+
14
+ CMD ["python", "app.py"]