syncthing-app/Dockerfile

17 lines
539 B
Docker
Raw Normal View History

2022-12-24 10:41:48 +00:00
FROM cloudron/base:4.0.0@sha256:31b195ed0662bdb06a6e8a5ddbedb6f191ce92e8bee04c03fb02dd4e9d0286df
2017-05-05 11:19:38 +00:00
2020-05-05 08:51:50 +00:00
RUN mkdir -p /app/code
2017-05-05 11:19:38 +00:00
WORKDIR /app/code
2023-03-08 08:55:13 +00:00
ARG VERSION=1.23.2
2021-04-06 07:51:16 +00:00
2020-05-05 08:51:50 +00:00
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
2018-02-27 00:28:45 +00:00
# add supervisor configs
ADD supervisor/* /etc/supervisor/conf.d/
RUN ln -sf /run/syncthing/supervisord.log /var/log/supervisor/supervisord.log
2020-05-05 08:51:50 +00:00
ADD nginx.conf start.sh /app/code/
2017-05-05 11:19:38 +00:00
CMD [ "/app/code/start.sh" ]