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

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"
ENV BIND="0.0.0.0:80"
ENV WORKERS="2"
EXPOSE 80
CMD ["/doccano/tools/run.sh"]