Browse Source

Run tests as part of the docker build

pull/68/head
Clemens Wolff 5 years ago
parent
commit
c1a22bd815
1 changed files with 4 additions and 0 deletions
  1. 4
      Dockerfile

4
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"

Loading…
Cancel
Save