diff --git a/Dockerfile b/Dockerfile index 5b05833..d144d28 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,8 @@ COPY parse_db_url.sh /usr/local/bin/parse_db_url.sh USER root RUN chmod 755 /usr/local/bin/parse_db_url.sh +RUN mkdir -p /var/lib/gitea/custom/conf + ENV DATABASE_URL=${DATABASE_URL} CMD ["/usr/local/bin/parse_db_url.sh"]