FROM cloudron/base:4.0.0@sha256:31b195ed0662bdb06a6e8a5ddbedb6f191ce92e8bee04c03fb02dd4e9d0286df RUN mkdir -p /app/code WORKDIR /app/code ARG VERSION=1.23.4 RUN wget https://github.com/syncthing/syncthing/releases/download/v${VERSION}/syncthing-linux-amd64-v${VERSION}.tar.gz -O - | tar -xz -C /app/code --strip-components=1 # add supervisor configs ADD supervisor/* /etc/supervisor/conf.d/ RUN ln -sf /run/syncthing/supervisord.log /var/log/supervisor/supervisord.log ADD nginx.conf start.sh /app/code/ CMD [ "/app/code/start.sh" ]