mirror of
https://github.com/serega404/MetricAliexpressExchangeRate.git
synced 2025-04-21 06:10:44 +03:00
Optimize Dokerfile
This commit is contained in:
parent
f4ce9083ae
commit
4b822855a7
@ -4,13 +4,14 @@ LABEL Maintainer="serega404"
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY main.py main.py
|
||||
COPY ./requirements.txt requirements.txt
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
COPY crontab /etc/cron.d/crontab
|
||||
RUN chmod 0644 /etc/cron.d/crontab
|
||||
|
||||
COPY main.py main.py
|
||||
|
||||
RUN /usr/bin/crontab /etc/cron.d/crontab
|
||||
|
||||
# run crond as main process of container
|
||||
|
Loading…
x
Reference in New Issue
Block a user