Update Dockerfile

This commit is contained in:
Olivier DEBAUCHE 2021-06-16 10:24:52 +02:00 committed by GitHub
parent 708bf1ef89
commit 70fb2d4b52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ FROM ubuntu:20.04
# Set up environment # Set up environment
ENV TZ=UTC ENV TZ=UTC
ENV AUTOVACUUM=on ENV AUTOVACUUM=off
ENV UPDATES=disabled ENV UPDATES=disabled
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
@ -78,7 +78,6 @@ RUN apt-get install -y --no-install-recommends \
tar \ tar \
ttf-unifont \ ttf-unifont \
unzip \ unzip \
ufw \
varnish \ varnish \
wget \ wget \
zlib1g-dev \ zlib1g-dev \
@ -193,10 +192,10 @@ RUN mkdir -p /home/renderer/src \
&& chmod u+x /home/renderer/src/regional/trim_osc.py && chmod u+x /home/renderer/src/regional/trim_osc.py
# Firewall configuration # Firewall configuration
RUN ufw allow ssh \ #RUN RUN ufw allow ssh \
&& ufw allow http \ # é& ufw allow http \
&& ufw allow https \ # && ufw allow https \
&& ufw enable # && ufw enable
# Start running # Start running
COPY run.sh / COPY run.sh /