mirror of https://github.com/doccano/doccano.git
pythonannotation-tooldatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learning
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
478 B
16 lines
478 B
FROM alpine:3.9.6
|
|
|
|
CMD ["python3"]
|
|
|
|
WORKDIR /app
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE 1
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
COPY . /app/
|
|
|
|
RUN apk add -U --no-cache bash python3 python3-dev libpq postgresql-dev unixodbc-dev musl-dev g++ libffi-dev \
|
|
&& pip3 install --upgrade --no-cache-dir pip setuptools \
|
|
&& pip3 install --no-cache-dir -r requirements.txt \
|
|
&& ln -s /usr/bin/python3 /usr/bin/python \
|
|
&& apk del --no-cache python3-dev postgresql-dev unixodbc-dev musl-dev g++ libffi-dev
|