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
VOLUME /pictures
WORKDIR /opt
RUN apt-get update && apt-get install -y \
python-dev \
python-pip \
zlib1g-dev \
libjpeg-dev \
libfreetype6-dev \
&& rm -rf /var/lib/apt/lists/*
RUN pip install sigal
python3-pip \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install sigal
COPY run.sh sigal.conf.py auth.conf auth.htpasswd ./