1
0
mirror of https://git.cloudron.io/cloudron/syncthing-app synced 2025-01-04 03:31:53 +00:00
syncthing-app/Dockerfile
Johannes Zellner 86edd041dc Bump version
2022-08-02 11:37:50 +02:00

17 lines
539 B
Docker

FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea
RUN mkdir -p /app/code
WORKDIR /app/code
ARG VERSION=1.20.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" ]