forked from jancelin/docker-lizmap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (17 loc) · 858 Bytes
/
Dockerfile
File metadata and controls
23 lines (17 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM debian:jessie
MAINTAINER Gerald Salin / docker-lizmap
RUN apt-get -y update \
&& apt-get -t jessie install -y python-simplejson python-software-properties xauth htop vim curl ntp ntpdate ssl-cert\
apache2 apache2-mpm-worker apache2-mpm-prefork apache2-bin apache2-data libapache2-mod-fcgid libapache2-mod-php5 \
php5 php5-common php5-cgi php5-curl php5-cli php5-sqlite php5-gd php5-pgsql unzip \
&& apt-get clean \
&& rm -r /var/lib/apt/lists/*
RUN a2dismod php5; a2enmod actions; a2enmod fcgid ; a2enmod ssl; a2enmod rewrite; a2enmod headers; \
a2enmod deflate; a2enmod php5
ENV LIZMAPVERSION 3.1.12
COPY files/ /home/files/
ADD https://github.com/3liz/lizmap-web-client/archive/$LIZMAPVERSION.zip /var/www/
RUN /home/files/setup.sh
VOLUME ["/var/www/websig/lizmap/var" , "/home"]
EXPOSE 80 443
CMD /start.sh