fix: perms

This commit is contained in:
Erica Marigold 2023-08-01 11:49:48 +05:30 committed by GitHub
parent d668afed7f
commit c3eb727ba0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,12 @@ COPY ./entrypoint.sh /home/builder/packages/entrypoint.sh
RUN chown -R builder:builder /home/builder/packages && \
chmod 600 /home/builder/packages/* -R && \
chown -R builder:builder /home/builder/packages/lune-bin && \
chmod 600 /home/builder/packages/lune-bin -R && \
chown -R builder:builder /home/builder/packages/lune-git && \
chmod 600 /home/builder/packages/lune-git -R && \
chown -R builder:builder /home/builder/packages/lune && \
chmod 600 /home/builder/packages/lune -R && \
chmod +x /home/builder/packages/*.sh
USER builder