diff --git a/Dockerfile b/Dockerfile index 5e1fb5b..0056e20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,10 +10,7 @@ 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 useradd -ms /bin/bash customuser && \ - chown -R customuser:customuser /var/lib/gitea/custom - -USER customuser +USER 1000:1000 ENV DATABASE_URL=${DATABASE_URL}