mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 08:22:24 +01:00
feature (openshift): permissions for deployment on openshift
This commit is contained in:
parent
0c2e5f1351
commit
4b9bf1223f
1 changed files with 3 additions and 0 deletions
|
|
@ -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/*
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue