Skip to content

Commit

Permalink
fix(build): add build deps to final container
Browse files Browse the repository at this point in the history
  • Loading branch information
sentriz committed May 19, 2021
1 parent b102bea commit a02943e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ FROM debian:buster-slim
LABEL org.opencontainers.image.source https://github.com/sentriz/socr
RUN apt-get update -qq
ENV TESSDATA_PREFIX=/usr/share/tesseract-ocr/4.00/tessdata/
RUN apt-get install -y -qq tesseract-ocr-eng

# TODO: static build in previous build step to avoid this
RUN apt-get install -y -qq tesseract-ocr-eng build-essential libtesseract-dev libleptonica-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev libgraphicsmagick1-dev

COPY --from=builder-backend /src/socr /
ENV SOCR_LISTEN_ADDR :80
Expand Down

0 comments on commit a02943e

Please sign in to comment.