12 lines
292 B
Docker
12 lines
292 B
Docker
FROM gitea/gitea:latest-rootless
|
|
|
|
ADD --chown=git:git config /etc/gitea
|
|
ADD --chown=git:git custom /etc/gitea-custom
|
|
ENV GITEA_CUSTOM=/etc/gitea-custom
|
|
|
|
RUN rm /etc/gitea/app.ini
|
|
RUN mv /etc/gitea/dev.app.ini /etc/gitea/app.ini
|
|
|
|
WORKDIR /etc/gitea-custom
|
|
|
|
RUN gitea cert --host localhost --ca |