mirror of https://github.com/doccano/doccano.git
pythondatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learningannotation-tool
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.
16 lines
360 B
16 lines
360 B
ARG PYTHON_VERSION="3.6"
|
|
|
|
FROM python:${PYTHON_VERSION}
|
|
|
|
COPY requirements.txt /
|
|
RUN python -m venv /venv \
|
|
&& /venv/bin/pip install --no-cache-dir -r /requirements.txt
|
|
|
|
COPY . /doccano
|
|
|
|
WORKDIR /doccano
|
|
|
|
ENV DEBUG="True"
|
|
ENV SECRET_KEY="change-me-in-production"
|
|
|
|
CMD ["/venv/bin/gunicorn", "--bind=0.0.0.0:80", "--workers=2", "--pythonpath=app", "app.wsgi"]
|