1
0
mirror of https://git.cloudron.io/cloudron/syncthing-app synced 2025-01-06 04:22:03 +00:00
syncthing-app/Dockerfile
Johannes Zellner 0a81bc61d4 Bump version
2023-11-15 14:22:16 +01:00

17 lines
539 B
Docker

FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768ba473078319a47f4
RUN mkdir -p /app/code
WORKDIR /app/code
ARG VERSION=1.26.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" ]