10 lines
308 B
Docker
10 lines
308 B
Docker
FROM gitea/gitea:latest
|
|
USER root
|
|
RUN apk add --no-cache git-lfs && \
|
|
mkdir -p /.s6-svscan/gitea/log && \
|
|
echo '#!/bin/sh\nexec /usr/local/bin/gitea web' > /.s6-svscan/gitea/run && \
|
|
chmod +x /.s6-svscan/gitea/run && \
|
|
chmod -R 777 /.s6-svscan && \
|
|
chown -R git:git /.s6-svscan
|
|
USER git
|
|
|