fixing cookie things, more or less

This commit is contained in:
Gaël
2024-07-03 17:01:29 +02:00
parent d2b39db82e
commit f17cd92f90
9 changed files with 1170 additions and 9 deletions

View File

@@ -1,10 +1,13 @@
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"]
CMD ["./update_and_run.sh"]
ENTRYPOINT ["sh", "-c", "./update_and_run.sh"]