up docker

This commit is contained in:
Gaël
2024-07-03 19:06:56 +02:00
parent ef04c73c31
commit 8b1a331eb4

View File

@@ -3,7 +3,11 @@ FROM python:3.8
RUN apt-get update && apt-get install -y git RUN apt-get update && apt-get install -y git
RUN git clone http://192.168.1.25:8124/zep/Substack_JV.git /app RUN git clone http://192.168.1.25:8124/zep/Substack_JV.git /app
WORKDIR /app WORKDIR /app
RUN pip install --upgrade pip
COPY requirements.txt .
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
ENV TZ=Europe/Brussels ENV TZ=Europe/Brussels
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone