diff --git a/Dockerfile b/Dockerfile index 1639470..48a9ac3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,8 +56,8 @@ LABEL org.opencontainers.image.licenses="MIT" ARG UID=1000 ARG GID=1000 -RUN groupadd --system -g $GID -f spindle -RUN useradd --system -u $UID -g $GID spindle +RUN adduser --system --uid $UID spindle +RUN addgroup --system --gid $UID spindle RUN mkdir -p /app && chown -R spindle:spindle /app COPY --from=build-spindle /usr/bin/spindle /usr/bin