Added Dockerfile for easier script use

This commit is contained in:
Enrico Ludwig 2024-08-06 21:21:41 +02:00
parent ff49e11010
commit 9a0bbd79ae

View File

@ -0,0 +1,15 @@
# Use a Python base image
FROM python:3.9
# Set the working directory
WORKDIR /app
# Copy the Python file and .env file to the working directory
COPY auto_mapper.py .
COPY .env .
# Install dependencies
RUN pip install --no-cache-dir python-dotenv
# Run the Python file
CMD ["python", "auto_mapper.py"]