fix
This commit is contained in:
parent
06b33e9834
commit
48647438f0
@ -5,10 +5,11 @@ ADD data /var/lib/gitea
|
|||||||
ADD localtime /etc/localtime
|
ADD localtime /etc/localtime
|
||||||
ADD timezone /etc/timezone
|
ADD timezone /etc/timezone
|
||||||
COPY --chown=root:root run.sh /usr/local/bin/
|
COPY --chown=root:root run.sh /usr/local/bin/
|
||||||
COPY conf/* /var/lib/gitea/custom/conf
|
ADD conf /var/lib/gitea/custom/
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
RUN chmod 755 /usr/local/bin/run.sh
|
RUN chmod 755 /usr/local/bin/run.sh
|
||||||
|
RUN chmod a+rwx /var/lib/gitea/custom/conf/app.ini
|
||||||
|
|
||||||
USER 1000:1000
|
USER 1000:1000
|
||||||
ARG DATABASE_URL='db:5432'
|
ARG DATABASE_URL='db:5432'
|
||||||
|
1
conf/app.ini
Normal file
1
conf/app.ini
Normal file
@ -0,0 +1 @@
|
|||||||
|
HTTP_PORT = $PORT;
|
Loading…
Reference in New Issue
Block a user