🧹 sbb_textline_detector: Use same structure as the other projects
parent
b85a9dc256
commit
599bbf1c86
@ -1,8 +1,9 @@
|
|||||||
FROM python:3
|
FROM python:3
|
||||||
|
|
||||||
ADD main.py /
|
|
||||||
ADD requirements.txt /
|
ADD requirements.txt /
|
||||||
|
|
||||||
RUN pip install --proxy=http-proxy.sbb.spk-berlin.de:3128 -r 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"]
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
__import__('pkg_resources').declare_namespace(__name__)
|
@ -0,0 +1 @@
|
|||||||
|
from .main import *
|
Loading…
Reference in New Issue