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:
parent
d9f8e19db2
commit
9915bb4a7a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user