Fix bug in Dockerfile (order)
This commit is contained in:
parent
9b3e24cfd0
commit
e7feb8c9d0
@ -1,10 +1,10 @@
|
|||||||
FROM debian:stretch
|
FROM debian:stretch
|
||||||
MAINTAINER yohan <783b8c87@scimetis.net>
|
MAINTAINER yohan <783b8c87@scimetis.net>
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
RUN apt-get update && apt-get -y install apache2 && apt-get -y install python-certbot-apache -t stretch-backports
|
|
||||||
ENV TZ=Europe/Paris
|
ENV TZ=Europe/Paris
|
||||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||||
RUN echo "deb http://ftp.debian.org/debian stretch-backports main" >> /etc/apt/sources.list
|
RUN echo "deb http://ftp.debian.org/debian stretch-backports main" >> /etc/apt/sources.list
|
||||||
|
RUN apt-get update && apt-get -y install apache2 && apt-get -y install python-certbot-apache -t stretch-backports
|
||||||
RUN a2enmod ssl proxy proxy_http rewrite headers proxy_wstunnel
|
RUN a2enmod ssl proxy proxy_http rewrite headers proxy_wstunnel
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
EXPOSE 443
|
EXPOSE 443
|
||||||
|
Loading…
Reference in New Issue
Block a user