fix: move back to root user to debug permissions more completely.

This commit is contained in:
Robert Wlodarczyk 2025-01-05 11:05:58 -08:00
parent 799ccc8edc
commit 176cb2e29c

View File

@ -48,11 +48,7 @@ RUN apk update --quiet && \
wget && \
rm /var/cache/apk/* && \
rm -rf /etc/periodic /etc/crontabs/root && \
adduser -S docker -D && \
mkdir -p ${HOME_DIR}/jobs && \
chown -R docker:docker ${HOME_DIR}
USER docker
mkdir -p ${HOME_DIR}/jobs
COPY --from=builder /usr/bin/rq/rq /usr/local/bin
COPY entrypoint.sh /