File size: 289 Bytes
85bf867
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Use an official lightweight Python image
FROM python:3.9-slim

# Set the working directory
WORKDIR /app

# Copy Python script into the container
COPY keep_alive.py /app/keep_alive.py

# Install dependencies
RUN pip install requests

# Run the script
CMD ["python", "/app/keep_alive.py"]