Update Dockerfile

pull/35/merge^2
Antoine Guyon 5 years ago committed by GitHub
parent 8498ed6777
commit b15a758d90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,7 +1,7 @@
#On choisit une debian
FROM debian:10.4
FROM debian:latest
MAINTAINER DiouxX "github@diouxx.be"
MAINTAINER Aguyonnet "f.guyonantoine@gmail.com"
#Ne pas poser de question à l'installation
ENV DEBIAN_FRONTEND noninteractive
@ -32,9 +32,10 @@ jq \
&& rm -rf /var/lib/apt/lists/*
#Copie et execution du script pour l'installation et l'initialisation de GLPI
COPY glpi-start.sh /opt/
RUN chmod +x /opt/glpi-start.sh
COPY glpi-start.sh glpi-install.sh /opt/
RUN chmod +x /opt/glpi-start.sh /opt/glpi-install.sh
RUN sh /opt/glpi-install.sh
ENTRYPOINT ["/opt/glpi-start.sh"]
#Exposition des ports
EXPOSE 80 443
EXPOSE 80

Loading…
Cancel
Save