5
0
mirror of https://github.com/cwinfo/yggdrasil-map synced 2024-11-10 02:20:30 +00:00
yggdrasil-map/contrib/docker/Dockerfile

22 lines
592 B
Docker
Raw Normal View History

2018-12-22 08:01:03 +00:00
FROM debian:stretch
LABEL maintainer="Christer Waren/CWINFO <christer.waren@cwinfo.org>"
WORKDIR /src
RUN apt-get update && \
apt-get install -y git python-flask python-flup python-mysqldb python-pygraphviz python-networkx cron && \
apt-get clean
2018-12-31 05:56:10 +00:00
RUN git clone https://github.com/Arceliar/yggdrasil-map.git yggdrasil-map
2018-12-31 05:55:37 +00:00
RUN cd yggdrasil-map/web && \
2018-12-22 08:01:03 +00:00
cp web_config.example.cfg web_config.cfg
COPY entrypoint.sh /usr/bin/entrypoint.sh
2018-12-27 07:15:33 +00:00
RUN chmod 0555 /usr/bin/entrypoint.sh
2018-12-22 08:01:03 +00:00
COPY crontab /etc/cron.d/jobs
RUN chmod 0644 /etc/cron.d/jobs
ENTRYPOINT [ "/usr/bin/entrypoint.sh"]