diff --git a/Dockerfile.python b/Dockerfile.python new file mode 100644 index 0000000..3a313c5 --- /dev/null +++ b/Dockerfile.python @@ -0,0 +1,17 @@ +# Use an official Python runtime as the base image +FROM python:3.9-slim + +# Set the working directory in the container +WORKDIR /app + +# Copy the Python script into the container +COPY mkbsd.py /app/mkbsd.py + +# Install the required packages +RUN pip install aiohttp + +# Set Python to run in unbuffered mode +ENV PYTHONUNBUFFERED=1 + +# Run the script when the container launches +CMD ["python", "mkbsd.py"]