imseldrith commited on
Commit
df2595f
·
1 Parent(s): cb4eb1f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -1,11 +1,11 @@
1
- FROM python:3.9
2
 
3
- WORKDIR /usr/src/app
4
- RUN chmod 777 /usr/src/app
5
 
6
  COPY requirements.txt .
7
  RUN pip3 install --no-cache-dir -r requirements.txt
8
 
9
  COPY . .
10
 
11
- CMD python3 app.py
 
1
+ FROM python:3.10
2
 
3
+ WORKDIR /app
4
+ RUN chmod 777 /app
5
 
6
  COPY requirements.txt .
7
  RUN pip3 install --no-cache-dir -r requirements.txt
8
 
9
  COPY . .
10
 
11
+ CMD nohup python3 bot.py &