1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-16 11:37:32 +02:00
dockerfiles/django-cms/Dockerfile
2016-06-10 15:27:49 +08:00

28 lines
579 B
Docker

#
# Dockerfile for django-cms
#
FROM vimagick/python:2
MAINTAINER kev <noreply@easypi.info>
WORKDIR /app
RUN set -xe \
&& apk add -U py-pillow tzdata \
&& pip install djangocms-installer \
&& 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
CMD ["python", "manage.py", "runserver", "0.0.0.0:80"]