You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
307 B

  1. ARG PYTHON_VERSION="3.6"
  2. FROM python:${PYTHON_VERSION}
  3. COPY requirements.txt /
  4. RUN pip install --no-cache-dir -r /requirements.txt
  5. COPY . /doccano
  6. WORKDIR /doccano
  7. ENV DEBUG="True"
  8. ENV SECRET_KEY="change-me-in-production"
  9. ENV BIND="0.0.0.0:80"
  10. ENV WORKERS="2"
  11. EXPOSE 80
  12. CMD ["/doccano/tools/run.sh"]