mirror of
https://github.com/cwinfo/yggdrasil-map
synced 2024-11-09 17:10:27 +00:00
Update Dockerfile
This commit is contained in:
parent
13db507b00
commit
eb35b69dfa
@ -3,13 +3,13 @@ LABEL maintainer="Christer Waren/CWINFO <christer.waren@cwinfo.org>"
|
|||||||
|
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y git python-flask python-flup python-mysqldb python-pygraphviz python-networkx cron && \
|
apt-get install -y git python-flask python-flup python-mysqldb python-pygraphviz python-networkx cron && \
|
||||||
apt-get clean
|
apt-get clean
|
||||||
|
|
||||||
RUN git clone https://github.com/Arceliar/yggdrasil-map.git && \
|
RUN git clone https://github.com/Arceliar/yggdrasil-map.git
|
||||||
cd yggdrasil-map/web && \
|
|
||||||
|
RUN cd yggdrasil-map/web && \
|
||||||
cp web_config.example.cfg web_config.cfg
|
cp web_config.example.cfg web_config.cfg
|
||||||
|
|
||||||
COPY entrypoint.sh /usr/bin/entrypoint.sh
|
COPY entrypoint.sh /usr/bin/entrypoint.sh
|
||||||
@ -18,5 +18,4 @@ RUN chmod 0555 /usr/bin/entrypoint.sh
|
|||||||
COPY crontab /etc/cron.d/jobs
|
COPY crontab /etc/cron.d/jobs
|
||||||
RUN chmod 0644 /etc/cron.d/jobs
|
RUN chmod 0644 /etc/cron.d/jobs
|
||||||
|
|
||||||
|
|
||||||
ENTRYPOINT [ "/usr/bin/entrypoint.sh"]
|
ENTRYPOINT [ "/usr/bin/entrypoint.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user