FROM gitea/gitea:1.10-linux-ARCH_PLACEHOLDER #ENV GIT_HOME /home/git RUN apk --no-cache add openssl # Configuration # $HOME doesn't work with COPY COPY app.ini /home/${USER}/ COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh RUN chmod 755 /usr/local/bin/docker-entrypoint.sh ENTRYPOINT [] CMD ["/usr/local/bin/docker-entrypoint.sh"]