Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Stage 1: Prepare the Recipe
##############################
FROM rust:alpine AS chef
ENV RUSTFLAGS="-C target-feature=-crt-static"
RUN apk add --no-cache tesseract-ocr-dev leptonica-dev clang-dev
RUN cargo install cargo-chef
WORKDIR /app
COPY . .
Expand All @@ -29,4 +27,4 @@ FROM alpine
RUN apk add --no-cache tesseract-ocr
WORKDIR /app
COPY --from=builder /app/target/release/parser .
ENTRYPOINT ["./parser"]
ENTRYPOINT ["./parser"]