Update Dockerfile
This commit is contained in:
parent
708bf1ef89
commit
70fb2d4b52
11
Dockerfile
11
Dockerfile
@ -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 /
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user