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

ARG PYTHON_VERSION="3.6"
FROM python:${PYTHON_VERSION}
COPY requirements.txt /
RUN pip install --no-cache-dir -r /requirements.txt
COPY . /doccano
WORKDIR /doccano
ENV DEBUG="True"
ENV SECRET_KEY="change-me-in-production"
CMD ["gunicorn", "--bind=0.0.0.0:80", "--workers=2", "--pythonpath=app", "app.wsgi"]