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