This commit is contained in:
Marcin Kostrzewski 2022-11-15 21:10:31 +01:00
parent 06b33e9834
commit 48647438f0
2 changed files with 3 additions and 1 deletions

View File

@ -5,10 +5,11 @@ ADD data /var/lib/gitea
ADD localtime /etc/localtime
ADD timezone /etc/timezone
COPY --chown=root:root run.sh /usr/local/bin/
COPY conf/* /var/lib/gitea/custom/conf
ADD conf /var/lib/gitea/custom/
USER root
RUN chmod 755 /usr/local/bin/run.sh
RUN chmod a+rwx /var/lib/gitea/custom/conf/app.ini
USER 1000:1000
ARG DATABASE_URL='db:5432'

1
conf/app.ini Normal file
View File

@ -0,0 +1 @@
HTTP_PORT = $PORT;