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.

15 lines
313 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. CMD ["gunicorn", "--bind=0.0.0.0:80", "--workers=2", "--pythonpath=app", "app.wsgi"]