14 lines
256 B
Docker
14 lines
256 B
Docker
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"] |