16 lines
321 B
Cheetah
16 lines
321 B
Cheetah
|
{{/* vim: set ft=dockerfile : */}}
|
||
|
|
||
|
ARG GITEA_VERSION={{ .Version }}
|
||
|
|
||
|
FROM gitea/gitea:${GITEA_VERSION}
|
||
|
|
||
|
ENV USER_UID=1000 \
|
||
|
USER_GID=1000 \
|
||
|
GITEA_CUSTOM=/helix/gitea/custom
|
||
|
|
||
|
ADD files app.ini /helix/gitea/custom/app.ini
|
||
|
|
||
|
RUN chown -R ${USER_ID}:${USER_GID} /helix
|
||
|
|
||
|
EXPOSE {{ .App.HttpPort }} {{ .App.SshPort }}
|