diff --git a/Dockerfile b/Dockerfile index c7f1da0..c6c5d63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM amd64/python:3.11.3-alpine3.16 +FROM amd64/python:3.11.3-slim-bullseye RUN apk add --no-cache git WORKDIR ./ ARG PUID=1000 @@ -7,7 +7,7 @@ ENV USER docker ENV HOMEDIR "/home/${USER}" ENV PATH ${HOMEDIR}/.local/bin:$PATH ENV PLUGIN_PROFILE production -RUN addgroup -S "${GROUP}" && adduser -S "${USER}" -G "${GROUP}" +RUN useradd -u "${PUID}" -m "${USER}" COPY script.sh /bin/ RUN chmod +x /bin/script.sh USER ${USER}