From 6eef93caf633c388a041d8a399a626b1f6dc4469 Mon Sep 17 00:00:00 2001 From: Stuart Axon Date: Thu, 13 Mar 2025 18:50:19 +0000 Subject: [PATCH] Update to python 3.13 Update to python 3.13-slim The netcat package was unavailable, netcat-openbsd is installed instead. --- project/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/project/Dockerfile b/project/Dockerfile index f7e7693..48b54e8 100644 --- a/project/Dockerfile +++ b/project/Dockerfile @@ -1,5 +1,5 @@ # pull official base image -FROM python:3.11-slim-buster +FROM python:3.13-slim # set working directory WORKDIR /usr/src/app @@ -9,9 +9,9 @@ ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 # install system dependencies -RUN apt-get update \ - && apt-get -y install netcat gcc postgresql \ - && apt-get clean +RUN apt-get update && \ + apt-get -y install netcat-openbsd gcc postgresql && \ + apt-get clean # install python dependencies RUN pip install --upgrade pip