Added dockefile
This commit is contained in:
parent
3a4a0758c8
commit
b38ee239ef
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@ -0,0 +1,13 @@
|
||||
FROM python:3.9-slim
|
||||
|
||||
ENV PIP_NO_CACHE_DIR=true
|
||||
ENV TZ Europe/Budapest
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
||||
ADD birb_scheduler requirements.txt /birb_scheduler/
|
||||
|
||||
WORKDIR /birb_scheduler/
|
||||
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
ENTRYPOINT ["python3", "main.py"]
|
Loading…
Reference in New Issue
Block a user