feature (openshift): permissions for deployment on openshift

This commit is contained in:
MickaelK 2024-01-11 21:54:52 +11:00
parent 0c2e5f1351
commit 4b9bf1223f

View file

@ -65,6 +65,9 @@ RUN apt-get update > /dev/null && \
RUN useradd filestash && \
chown -R filestash:filestash /app/ && \
find /app/data/ -type d -exec chmod 770 {} \; && \
find /app/data/ -type f -exec chmod 760 {} \; && \
chmod 730 /app/filestash && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /tmp/*