0
0
Fork 0
mirror of https://github.com/healthchecks/healthchecks.git synced 2025-04-08 06:30:05 +00:00

Update Dockerfile to use Python 3.12

This commit is contained in:
Pēteris Caune 2023-12-15 11:15:42 +02:00
parent 3b8d473980
commit 1026c0a1f2
No known key found for this signature in database
GPG key ID: E28D7679E9A9EDE2

View file

@ -1,4 +1,4 @@
FROM python:3.11-slim-bookworm as builder
FROM python:3.12-slim-bookworm as builder
COPY requirements.txt /tmp
RUN \
@ -12,7 +12,7 @@ RUN \
COPY . /opt/healthchecks/
RUN rm -rf /opt/healthchecks/.git
FROM python:3.11-slim-bookworm
FROM python:3.12-slim-bookworm
RUN useradd --system hc
ENV PYTHONUNBUFFERED=1