From 96e081fff1ca8d11ff1883058e3ab0d9953df825 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Sun, 23 Mar 2025 17:32:15 +0100 Subject: [PATCH] chore: make image recognition work in docker Refs: OPS-85 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index d53051a..2dd750c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.12-alpine AS base +FROM python:3.11 AS base ENV POETRY_VIRTUALENVS_CREATE=true ENV FLASK_APP=senju/main.py @@ -10,9 +10,9 @@ WORKDIR /app COPY . . # Install dependencies -RUN apk add curl bash jq +RUN apt update && apt install curl bash jq RUN pip install poetry -RUN poetry install +RUN poetry install -v FROM base as dev