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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -6
Dockerfile CHANGED
@@ -1,11 +1,9 @@
1
- FROM python:3.9-slim
2
 
3
  WORKDIR /app
4
 
5
- # Install system dependencies
6
  RUN apt-get update && apt-get install -y \
7
  gcc \
8
- python3-dev \
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
  COPY requirements.txt .
@@ -14,6 +12,4 @@ RUN pip install --no-cache-dir -r requirements.txt
14
 
15
  COPY . .
16
 
17
- EXPOSE 5000
18
-
19
- CMD ["python", "app.py"]
 
1
+ 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 .
 
12
 
13
  COPY . .
14
 
15
+ CMD python app.py