wpms commited on
Commit
ea547d9
·
verified ·
1 Parent(s): eeac3fd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -7
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.11-slim
2
 
3
  WORKDIR /app
4
 
@@ -6,11 +6,8 @@ WORKDIR /app
6
  COPY requirements.txt .
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
9
- # Copy bot code
10
- COPY . .
11
 
12
- # Expose port for Hugging Face
13
- EXPOSE 7860
14
-
15
- # Run bot
16
  CMD ["python", "main.py"]
 
1
+ FROM python:3.10-slim
2
 
3
  WORKDIR /app
4
 
 
6
  COPY requirements.txt .
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
9
+ # Copy bot files
10
+ COPY main.py .
11
 
12
+ # Run the bot
 
 
 
13
  CMD ["python", "main.py"]