diff --git a/code/Dockerfile b/code/Dockerfile index f9a0fbb..c5517a2 100644 --- a/code/Dockerfile +++ b/code/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:22.04 +FROM ubuntu:24.04 ENV DEBIAN_FRONTEND=noninteractive @@ -18,6 +18,7 @@ ARG UUID ARG UGID ARG TZ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone +RUN id ubuntu && userdel ubuntu RUN groupadd -g $UGID user && \ useradd -u $UUID -g $UGID -ms /bin/bash user && \ mkdir -p /opt/venv && chown $UUID:$UGID /opt/venv