diff --git a/Dockerfile b/Dockerfile index d3ff3226..ce3c0b9a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,10 @@ COPY . /doccano WORKDIR /doccano +RUN ["/venv/bin/python", "app/manage.py", "migrate"] +RUN ["/venv/bin/python", "app/manage.py", "collectstatic"] +RUN ["/venv/bin/python", "app/manage.py", "test", "server.tests"] + ENV DEBUG="True" ENV SECRET_KEY="change-me-in-production"