File size: 507 Bytes
8f6a3bb
184a427
0e876f8
184a427
 
0e876f8
8f6a3bb
 
 
 
 
94efce7
8f6a3bb
5d12bd2
94efce7
8f6a3bb
5d12bd2
0e876f8
8f6a3bb
5d12bd2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Use the official Python image as the base image
FROM python:3.9-slim

# Set the working directory in the container
WORKDIR /usr/src/app

# Install system dependencies
# curl is required to download the install script
RUN apt-get update && apt-get install -y \
    curl \
    && rm -rf /var/lib/apt/lists/*

# Copy the Python script into the container
COPY main.py .

# Make the Python script executable
RUN chmod +x main.py

# Run the Python script when the container launches
CMD ["python", "./main.py"]