Skip to content

Commit

Permalink
build: remove commented-out old debian stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Borketh committed Oct 31, 2024
1 parent 7cd04e7 commit d0e1da5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
FROM alpine AS runtime
#FROM python:3.12-slim AS runtime

VOLUME /config
WORKDIR /app

RUN apk update; apk add --no-cache python3 tesseract-ocr-data-eng re2-dev
#ENV DEBIAN_FRONTEND=noninteractive APT="apt-get -qq"
#RUN $APT update; \
# $APT install tesseract-ocr; \
# $APT clean; \
# rm -rf /var/lib/apt/lists/*

FROM alpine AS build
#FROM python:3.12-slim AS build

WORKDIR /deps

#RUN pip --no-cache-dir install --progress-bar=off "poetry==1.8"
RUN apk update; apk add --no-cache g++ git re2-dev poetry python3-dev

COPY pyproject.toml poetry.lock poetry.toml ./
Expand Down

0 comments on commit d0e1da5

Please sign in to comment.