add Dockerfile and CI configuration for building and pushing Docker image

This commit is contained in:
Elmar Kresse
2025-01-13 10:56:42 +01:00
parent b337b7c2f8
commit c3142e3378
4 changed files with 93 additions and 1 deletions

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
# load python base image
FROM python:3.12.0-slim
COPY ./requirements.txt /app/requirements.txt
WORKDIR /app
RUN pip install -r requirements.txt
COPY . /app
CMD ["python", "-u", "/app/main.py"]