Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 423 Bytes
From python:2.7
MAINTAINER Farid Ahmadian ""
RUN apt-get update -y && \
apt-get install -y python-pip python-dev python-mysqldb cron
COPY . /app
RUN pip install -r requirements.txt
COPY crontab /etc/cron.d/downloadchibashi
RUN chmod 0644 /etc/cron.d/downloadchibashi
RUN service cron start
ENTRYPOINT [ "gunicorn" ]
CMD [ "-w", "4", "-b", "", "downloadchibashi:app" ]
You can’t perform that action at this time.