Files
Substack_JV/Dockerfile
2024-01-02 08:42:22 +01:00

10 lines
367 B
Docker

FROM python:3.8
RUN apt-get update && apt-get install -y git
RUN git clone http://192.168.1.25:8124/zep/Substack_JV.git /app
WORKDIR /app
RUN pip install -r requirements.txt
ENV TZ=Europe/Brussels
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY update_and_run.sh /app
RUN chmod +x /app/update_and_run.sh
CMD ["./update_and_run.sh"]