File size: 467 Bytes
26dc13e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Use the official Python image from Docker Hub
FROM python:3.10-slim

# Set the working directory inside the container
WORKDIR /app

# Copy the local requirements.txt file to the container
COPY requirements.txt /app/

# Install any needed dependencies
RUN pip install --no-cache-dir -r requirements.txt

# Copy the rest of your application to the container
COPY . /app/

# Set the command to run your bot (replace bot.py with your main file)
CMD ["python", "app.py"]