--- /dev/null
+.git
+*.pyc
+*.egg-info
+data/
+env/
+tmp/
+var/
+**/.sass-cache
\ No newline at end of file
-FROM python:3-jessie
+FROM python:3.6-stretch
ENV PYTHONUNBUFFERED 1
COPY requirements.txt /srv
RUN apt-get update && \
DEBIAN_PACKAGES=$(egrep -v "^\s*(#|$)" /srv/requirements.txt) && \
- apt-get install -t jessie-backports -y --force-yes $DEBIAN_PACKAGES && \
+ apt-get install -t stretch-backports -y --force-yes $DEBIAN_PACKAGES && \
echo fr_FR.UTF-8 UTF-8 >> /etc/locale.gen && \
locale-gen && \
apt-get clean
version: '2'
services:
var:
- image: debian:jessie
+ image: debian:stretch
volumes:
- ./var/media:/srv/media
- ./var/backup:/srv/backup
-deb http://httpredir.debian.org/debian jessie main contrib non-free
-deb http://security.debian.org/ jessie/updates main
-deb http://httpredir.debian.org/debian jessie-updates main
-deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
-deb https://deb.nodesource.com/node_10.x jessie main
+deb http://httpredir.debian.org/debian stretch main contrib non-free
+deb http://httpredir.debian.org/debian stretch-updates main
+deb http://httpredir.debian.org/debian stretch-backports main contrib non-free
-#deb http://mirrors.ircam.fr/pub/debian/ jessie main contrib non-free
-#deb http://mirrors.ircam.fr/pub/debian/ jessie-updates main
-#deb http://mirrors.ircam.fr/pub/debian/ jessie-backports main contrib non-free
+deb http://security.debian.org/ stretch/updates main
+
+deb https://deb.nodesource.com/node_10.x stretch main
+
+#deb http://mirrors.ircam.fr/pub/debian/ stretch main contrib non-free
+#deb http://mirrors.ircam.fr/pub/debian/ stretch-updates main
+#deb http://mirrors.ircam.fr/pub/debian/ stretch-backports main contrib non-free
--- /dev/null
+deb http://httpredir.debian.org/debian jessie main contrib non-free
+deb http://security.debian.org/ jessie/updates main
+deb http://httpredir.debian.org/debian jessie-updates main
+deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
+deb https://deb.nodesource.com/node_10.x jessie main
+
+#deb http://mirrors.ircam.fr/pub/debian/ jessie main contrib non-free
+#deb http://mirrors.ircam.fr/pub/debian/ jessie-updates main
+#deb http://mirrors.ircam.fr/pub/debian/ jessie-backports main contrib non-free
--- /dev/null
+deb http://httpredir.debian.org/debian stretch main contrib non-free
+deb http://httpredir.debian.org/debian stretch-updates main
+deb http://httpredir.debian.org/debian stretch-backports main contrib non-free
+
+deb http://security.debian.org/ stretch/updates main
+
+deb https://deb.nodesource.com/node_10.x stretch main
+
+#deb http://mirrors.ircam.fr/pub/debian/ stretch main contrib non-free
+#deb http://mirrors.ircam.fr/pub/debian/ stretch-updates main
+#deb http://mirrors.ircam.fr/pub/debian/ stretch-backports main contrib non-free