5
0
mirror of https://github.com/cwinfo/yggdrasil-map synced 2025-02-05 21:16:16 +00:00

23 lines
540 B
Docker
Raw Normal View History

2018-12-22 10:01:03 +02:00
FROM debian:stretch
2019-01-22 03:02:38 +02:00
ENV HOST localhost
ENV PORT 3000
2018-12-22 10:01:03 +02:00
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 07:56:10 +02:00
RUN git clone https://github.com/Arceliar/yggdrasil-map.git yggdrasil-map
2018-12-31 07:55:37 +02:00
2019-01-22 02:09:09 +02:00
COPY web_config.cfg /src/yggdrasil-map/web/web_config.cfg
2019-01-22 02:09:18 +02:00
2018-12-22 10:01:03 +02:00
COPY entrypoint.sh /usr/bin/entrypoint.sh
2018-12-27 09:15:33 +02:00
RUN chmod 0555 /usr/bin/entrypoint.sh
2018-12-22 10:01:03 +02:00
COPY crontab /etc/cron.d/jobs
RUN chmod 0644 /etc/cron.d/jobs
ENTRYPOINT [ "/usr/bin/entrypoint.sh"]