Fix directory permissions
This commit is contained in:
parent
b0f71b6032
commit
c691a149c4
1 changed files with 4 additions and 2 deletions
|
|
@ -2,7 +2,9 @@ FROM gitea/gitea:latest
|
|||
USER root
|
||||
RUN apk add --no-cache git-lfs && \
|
||||
mkdir -p /.s6-svscan/gitea/log && \
|
||||
touch /.s6-svscan/gitea/run && \
|
||||
echo '#!/bin/sh\nexec /usr/local/bin/gitea web' > /.s6-svscan/gitea/run && \
|
||||
chmod +x /.s6-svscan/gitea/run && \
|
||||
chmod -R 777 /.s6-svscan
|
||||
chmod -R 777 /.s6-svscan && \
|
||||
chown -R git:git /.s6-svscan
|
||||
USER git
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue