Files
Substack_JV/Dockerfile
2025-09-07 16:07:03 +02:00

17 lines
469 B
Docker

FROM python:3.9
RUN apt-get update && apt-get install -y git
RUN git clone http://gitea.zep.best/zep/Substack_JV.git /app
WORKDIR /app
RUN pip install --upgrade pip
COPY requirements.txt .
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"]
ENTRYPOINT ["sh", "-c", "./update_and_run.sh"]