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.
22 lines
473 B
22 lines
473 B
ARG PYTHON_VERSION="3.8.6"
|
|
FROM python:${PYTHON_VERSION}-slim-buster
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
wget=1.* \
|
|
netcat=1.* \
|
|
libpq-dev=11.* \
|
|
unixodbc-dev=2.* \
|
|
g++=4:* \
|
|
libssl-dev=1.* \
|
|
&& apt-get clean
|
|
|
|
WORKDIR /src
|
|
COPY ./Pipfile* /src/
|
|
|
|
RUN pip install --upgrade pip && pip install pipenv==2020.11.15 \
|
|
&& pipenv install --system --dev
|
|
|
|
COPY tools/ /opt/bin/
|
|
|
|
ENTRYPOINT [ "/opt/bin/dev-django.sh" ]
|