Bugfixes and Dockerfile

This commit is contained in:
Mike
2023-01-02 21:43:20 +01:00
parent aefde5013a
commit 311a454ab0
4 changed files with 45 additions and 4 deletions

14
Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM python3
ENV TZ=Europe/Luxembourg
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN mkdir /app
COPY requirements.txt /app
COPY main.py /app
WORKDIR /app
RUN pip install -r requirements.txt
CMD ['python', "main.py"]