1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00

update django-cms

This commit is contained in:
kev 2016-06-10 15:27:49 +08:00
parent d9f8e19db2
commit 9915bb4a7a

View File

@ -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