From 9a0bbd79aecf71735c1094106260adc19f00153a Mon Sep 17 00:00:00 2001 From: Enrico Ludwig Date: Tue, 6 Aug 2024 21:21:41 +0200 Subject: [PATCH] Added Dockerfile for easier script use --- gitea/auto_mapper/Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 gitea/auto_mapper/Dockerfile diff --git a/gitea/auto_mapper/Dockerfile b/gitea/auto_mapper/Dockerfile new file mode 100644 index 0000000..71f6b29 --- /dev/null +++ b/gitea/auto_mapper/Dockerfile @@ -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"] \ No newline at end of file