mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-05-04 05:30:33 +08:00
The repositories are now split, this has already caused enough confusion. Signed-off-by: Michal Čihař <michal@cihar.com>
23 lines
513 B
Docker
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"
|