File size: 471 Bytes
31a1090
 
 
 
 
 
6900a38
 
 
 
 
 
31a1090
6fb9724
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Use a lightweight Python image as the base
FROM python:3.11-slim

# Set the working directory inside the container
WORKDIR /app

# Install git and clean up to keep the image small
RUN apt-get update && \
    apt-get install -y git && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

# Copy all files to the container
COPY . /app

# Install required dependencies
RUN pip install -r requirements.txt

# Default command to run the script
CMD ["python", "main.py"]