From b6b78301e549ac140ec363496f922bf8255879b3 Mon Sep 17 00:00:00 2001 From: Joshua Bachmeier Date: Tue, 24 Oct 2023 22:01:10 +0200 Subject: [PATCH] Pin python version to 3.11 in docker container --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 195b9d6..c17fa15 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:alpine AS builder +FROM python:3.11-alpine AS builder LABEL authors="freddo" WORKDIR /srv/ @@ -12,7 +12,7 @@ RUN apk add \ RUN pip wheel --no-cache-dir --wheel-dir /wheels mysql pycryptodome psycopg2 -FROM python:alpine +FROM python:alpine3.11-alpine WORKDIR /srv/ @@ -35,4 +35,4 @@ ENV AUTH_MECHANISM='' ENV TRANSACTION_PAGE_LENGTH=25 ENV PRESELECTED_CONTRA_ACCOUNT='' -ENTRYPOINT ["gunicorn", "-b", "0.0.0.0", "gnucash_web.wsgi:app"] \ No newline at end of file +ENTRYPOINT ["gunicorn", "-b", "0.0.0.0", "gnucash_web.wsgi:app"]