bump to python3 and sigal 2
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -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 ./
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user