Cxops commited on
Commit
77be342
·
verified ·
1 Parent(s): d08d814

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -2
Dockerfile CHANGED
@@ -1,10 +1,15 @@
1
- FROM python:3.10-slim
2
 
3
  WORKDIR /app
4
 
 
 
5
  COPY requirements.txt .
 
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
8
  COPY . .
9
 
10
- CMD ["python", "app.py"]
 
 
 
1
+ FROM python:3.11-slim
2
 
3
  WORKDIR /app
4
 
5
+ ENV PYTHONUNBUFFERED=1
6
+
7
  COPY requirements.txt .
8
+
9
  RUN pip install --no-cache-dir -r requirements.txt
10
 
11
  COPY . .
12
 
13
+ EXPOSE 7860
14
+
15
+ CMD ["python", "-u", "bot.py"]