MyanmarSwe commited on
Commit
c3af0ee
·
verified ·
1 Parent(s): a37c541

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -16
Dockerfile CHANGED
@@ -1,17 +1,6 @@
1
- FROM python:3.10-slim
2
-
3
- # လုပ်ငန်းခွင် နေရာသတ်မှတ်ခြင်း
4
- WORKDIR /app
5
-
6
- # လိုအပ်သော system tool များ သွင်းခြင်း
7
- RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
8
-
9
- # ဖိုင်များအားလုံးကို copy ကူးခြင်း
10
  COPY . .
11
-
12
- # Library များ သွင်းခြင်း
13
- RUN pip install --no-cache-dir -r requirements.txt
14
-
15
- # App ကို စတင် Run ခြင်း
16
- # (သင့် App ရဲ့ entry point က app/__main__.py ဖြစ်လျှင်)
17
- CMD ["python3", "main.py"]
 
1
+ FROM python:3.9
2
+ WORKDIR /code
3
+ COPY ./requirements.txt /code/requirements.txt
4
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
 
 
 
 
 
5
  COPY . .
6
+ CMD ["python", "main.py"]