1
0
Fork 0
mirror of https://github.com/qurator-spk/sbb_ner.git synced 2025-06-09 12:20:00 +02:00

re-structure repo

This commit is contained in:
Kai Labusch 2019-08-16 15:22:13 +02:00
commit 16e63b4673
24 changed files with 13072 additions and 0 deletions

20
Dockerfile Normal file
View file

@ -0,0 +1,20 @@
FROM nvidia/cuda:10.0-base
ARG http_proxy
ENV http_proxy=$http_proxy
ENV https_proxy=$http_proxy
RUN apt-get update && \
apt-get -y install build-essential && \
apt-get -y install python3-pip && \
apt-get clean && rm -rf /var/lib/apt/lists/*
COPY requirements.txt /tmp
RUN pip3 --no-cache-dir install -r /tmp/requirements.txt
COPY . /usr/src/qurator-mono-repo
RUN pip3 --no-cache-dir install -e /usr/src/qurator-mono-repo
WORKDIR /usr/src/qurator-mono-repo
CMD export LANG=C.UTF-8; env FLASK_APP=qurator/qurator_sbb_ner/webapp/app.py env FLASK_ENV=development env USE_CUDA=True flask run --host=0.0.0.0