From 9915bb4a7a0d4f0c0a490743aed16e75474aab5e Mon Sep 17 00:00:00 2001 From: kev Date: Fri, 10 Jun 2016 15:27:49 +0800 Subject: [PATCH] update django-cms --- django-cms/Dockerfile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/django-cms/Dockerfile b/django-cms/Dockerfile index f4e3e1f..7a92f57 100644 --- a/django-cms/Dockerfile +++ b/django-cms/Dockerfile @@ -10,7 +10,17 @@ WORKDIR /app RUN set -xe \ && apk add -U py-pillow tzdata \ && pip install djangocms-installer \ - && djangocms -q -l en --utc -f -p . mysite + && mkdir -p data \ + && djangocms --db sqlite://localhost/data/project.db \ + --filer \ + --languages en \ + --no-input \ + --parent-dir . \ + --skip-empty-check \ + --utc \ + mysite + +VOLUME /app/data EXPOSE 80