fix: divide chown and chgrp
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dominik Meyer 2024-12-26 23:24:58 +01:00
parent 12bc658197
commit d74099b7e8
Signed by: byterazor
GPG Key ID: EABDA0FD5981BC97

View File

@ -39,7 +39,9 @@ RUN addgroup rss2email && adduser -D -G rss2email rss2email
RUN mkdir -p /home/rss2email/.rss2email/
# ensure a homedirectory for the user exists and has correct access rights
RUN mkdir -p /home/rss2email && chown rss2email.rss2email /home/rss2email
RUN mkdir -p /home/rss2email
RUN chown rss2email /home/rss2email
RUN chgrp rss2email /home/rss2email
# run everything as the rss2email user
USER rss2email