bump to python3 and sigal 2

This commit is contained in:
remche
2020-09-23 13:19:36 +02:00
parent ec7040c1b1
commit 76ef463775
2 changed files with 5 additions and 10 deletions

View File

@@ -1,17 +1,12 @@
FROM nginx:stable FROM nginx:stable
VOLUME /pictures
WORKDIR /opt WORKDIR /opt
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
python-dev \ python3-pip \
python-pip \
zlib1g-dev \
libjpeg-dev \
libfreetype6-dev \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN pip install sigal
RUN pip3 install sigal
COPY run.sh sigal.conf.py auth.conf auth.htpasswd ./ COPY run.sh sigal.conf.py auth.conf auth.htpasswd ./

2
run.sh
View File

@@ -7,5 +7,5 @@ if [[ $HTPASSWD ]]
fi fi
sigal build sigal build
nginx -g "daemon off;" exec nginx -g "daemon off;"