weblate/dev.Dockerfile
Michal Čihař e2e6b2da1c Fix references to docker image and compose
The repositories are now split, this has already caused enough confusion.

Signed-off-by: Michal Čihař <michal@cihar.com>
2018-10-07 16:09:00 +02:00

23 lines
513 B
Docker

FROM weblate/weblate:edge
##########
# WARNING!
# This dockerfile is meant to be used in the development process
# and WILL perform very poorly in production.
#
# For production-ready dockerfile see:
# https://github.com/WeblateOrg/docker
#########
WORKDIR /srv
# TODO: put some new dependencies here
COPY requirements.txt .
RUN pip install -r requirements.txt
ENTRYPOINT
CMD sh -c "./manage.py migrate \
&& ./manage.py createadmin --update --password admin \
&& ./manage.py runserver 0.0.0.0:8080"