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.
17 lines
442 B
17 lines
442 B
FROM alpine:3.9.6
|
|
|
|
CMD ["python3"]
|
|
|
|
WORKDIR /app
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE 1
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
COPY . /app/
|
|
|
|
RUN apk add -U bash python3 python3-dev libpq postgresql-dev unixodbc-dev musl-dev g++ libffi-dev \
|
|
&& pip3 install --upgrade pip setuptools \
|
|
&& pip3 install --no-cache-dir -r requirements.txt \
|
|
&& ln -s /usr/bin/python3 /usr/bin/python \
|
|
&& apk del python3-dev postgresql-dev unixodbc-dev musl-dev g++ libffi-dev
|
|
|