diff --git a/Dockerfile b/Dockerfile index 09f688f..5b30559 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,7 @@ ENV GITEA__database__NAME=${DATABASE_DB} ENV GITEA__database__USER=${DATABASE_USER} ENV GITEA__database__PASSWD=${DATABASE_PASSWORD} -RUN mkdir -p /var/lib/gitea/custom/conf && \ - chown -R git:git /var/lib/gitea +ENV GITEA_CUSTOM=/app/tmp/gitea/custom +RUN mkdir -p /app/tmp/gitea/custom/conf && \ + chown -R git:git /app/tmp/gitea/custom