FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92 RUN mkdir -p /app/code WORKDIR /app/code ARG VERSION=1.18.1 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" ]