dockerfile: ENTRYPOINT -> CMD
@@ -17,15 +17,15 @@ COPY LICENSE .
RUN apt-get update && \
apt-get -y install --no-install-recommends \
ca-certificates \
+ python3-pip \
make \
sudo \
git \
- libglib2.0.0
- # libxext6
- # libsm6 \
- # libxrender1 \
-RUN make deps-ubuntu
-RUN pip3 install --upgrade pip
-RUN make deps-ubuntu install
+ libglib2.0.0 \
+ && pip3 install --upgrade pip setuptools \
+ && make install \
+ && rm -rf /build-ocrd
-ENTRYPOINT ["/usr/local/bin/ocrd"]
+WORKDIR /data
+
+CMD ["/usr/local/bin/ocrd"]
