🧹 sbb_textline_detector: Use same structure as the other projects

This commit is contained in:
Gerber, Mike 2019-10-10 16:24:28 +02:00
parent b85a9dc256
commit 599bbf1c86
5 changed files with 8 additions and 5 deletions

View file

@ -1,8 +1,9 @@
FROM python:3
ADD main.py /
ADD requirements.txt /
RUN pip install --proxy=http-proxy.sbb.spk-berlin.de:3128 -r requirements.txt
ENTRYPOINT ["python", "./main.py"]
COPY . /usr/src/sbb_textline_detector
RUN pip install /usr/src/sbb_textline_detector
ENTRYPOINT ["sbb_textline_detector"]