Skip to content

Commit

Permalink
Pin python version to 3.11 in docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuabach committed Oct 24, 2023
1 parent b820ea7 commit b6b7830
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:alpine AS builder
FROM python:3.11-alpine AS builder
LABEL authors="freddo"

WORKDIR /srv/
Expand All @@ -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/

Expand All @@ -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"]
ENTRYPOINT ["gunicorn", "-b", "0.0.0.0", "gnucash_web.wsgi:app"]

0 comments on commit b6b7830

Please sign in to comment.