chore: make image recognition work in docker

Refs: OPS-85
This commit is contained in:
Christoph J. Scherr 2025-03-23 17:32:15 +01:00
parent 665f69987b
commit 96e081fff1
No known key found for this signature in database
GPG key ID: 9EB784BB202BB7BB

View file

@ -1,4 +1,4 @@
FROM python:3.12-alpine AS base FROM python:3.11 AS base
ENV POETRY_VIRTUALENVS_CREATE=true ENV POETRY_VIRTUALENVS_CREATE=true
ENV FLASK_APP=senju/main.py ENV FLASK_APP=senju/main.py
@ -10,9 +10,9 @@ WORKDIR /app
COPY . . COPY . .
# Install dependencies # Install dependencies
RUN apk add curl bash jq RUN apt update && apt install curl bash jq
RUN pip install poetry RUN pip install poetry
RUN poetry install RUN poetry install -v
FROM base as dev FROM base as dev