|
@@ -14,7 +14,7 @@ WORKDIR /usr/src/app
|
|
|
|
|
|
COPY requirements.txt /usr/src/app/
|
|
COPY requirements.txt /usr/src/app/
|
|
RUN pip install --no-cache-dir --upgrade pip
|
|
RUN pip install --no-cache-dir --upgrade pip
|
|
-RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
|
+RUN pip install -r requirements.txt && rm -rf /root/.cache/
|
|
|
|
|
|
RUN mkdir /root/cronhook
|
|
RUN mkdir /root/cronhook
|
|
ADD ["cronhook/crontab", "cronhook/start-cron.sh", "/root/cronhook/"]
|
|
ADD ["cronhook/crontab", "cronhook/start-cron.sh", "/root/cronhook/"]
|