ENV PYTHONUNBUFFERED 1
+RUN mkdir /srv/app
+RUN mkdir /srv/lib
+WORKDIR /srv/app
+
+COPY debian-requirements.txt /srv/app/
RUN apt-get update && \
- apt-get -y --force-yes install locales netcat pandoc && \
+ DEBIAN_PACKAGES=$(egrep -v "^\s*(#|$)" debian-requirements.txt) && \
+ apt-get install -y --force-yes $DEBIAN_PACKAGES && \
echo fr_FR.UTF-8 UTF-8 >> /etc/locale.gen && \
- locale-gen
+ locale-gen \
+ apt-get clean
ENV LANG fr_FR.UTF-8
ENV LANGUAGE fr_FR:fr
ENV LC_ALL fr_FR.UTF-8
-RUN mkdir /srv/app
-RUN mkdir /srv/lib
-WORKDIR /srv/app
-
ADD requirements.txt /srv/app/
RUN pip install -r requirements.txt
ADD requirements-dev.txt /srv/app/
RUN pip install -r requirements-dev.txt --src /srv/lib
+
+RUN npm install -g bower
}
-DATABASE_ROUTERS = ['eve.routers.EveRouter',]
+# DATABASE_ROUTERS = ['eve.routers.EveRouter',]
# EXTENSIONS AND FORMATS
"mezzanine.accounts",
# "mezzanine.mobile",
# "eve",
+ 'djangobower',
"meta",
"mezzanine_agenda",
"festival",
PACKAGE_NAME_FILEBROWSER = "filebrowser_safe"
PACKAGE_NAME_GRAPPELLI = "grappelli_safe"
+
+STATICFILES_FINDERS = (
+ 'django.contrib.staticfiles.finders.FileSystemFinder',
+ 'django.contrib.staticfiles.finders.AppDirectoriesFinder',
+# 'django.contrib.staticfiles.finders.DefaultStorageFinder',
+ 'djangobower.finders.BowerFinder',
+)
+
#########################
# OPTIONAL APPLICATIONS #
#########################
--- /dev/null
+git
+wget
+bzip2
+build-essential
+netcat
+npm
+locales
+pandoc
+nodejs-legacy
--- /dev/null
+deb http://mirrors.ircam.fr/pub/debian/ jessie main contrib non-free
+deb-src http://mirrors.ircam.fr/pub/debian/ testing main contrib non-free
+
+deb http://security.debian.org/ jessie/updates main
+deb-src http://security.debian.org/ jessie/updates main
+
+deb http://mirrors.ircam.fr/pub/debian/ jessie-updates main
+deb-src http://mirrors.ircam.fr/pub/debian/ jessie-updates main
-e git+https://github.com/yomguy/mezzanine-agenda.git#egg=mezzanine-agenda-0.2.2
-e git+https://github.com/stephenmcd/mezzanine.git#egg=mezzanine-4.1-dev
-https://forge.ircam.fr/p/django-eve/source/download/dev/
+#https://forge.ircam.fr/p/django-eve/source/download/dev/
#
#