File size: 467 Bytes
e34bab4
 
 
 
 
 
 
 
 
 
 
 
 
4202dff
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Use an official Python runtime as a parent image
FROM python:3.10-slim

# Set the working directory in the container
WORKDIR /app

# Copy the dependency file and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Copy the rest of the application files (including vector_db and telegram_bot.py)
COPY . .

# The bot will be started directly by Python, removing the dependency on run.sh
CMD ["python", "telegram_bot.py"]