This commit is contained in:
awieczarek 2024-10-23 12:42:51 +02:00
parent c9105f300c
commit 0824676343

View File

@ -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}