syncthing-app/Dockerfile

17 lines
554 B
Docker
Raw Permalink Normal View History

2018-10-14 21:39:18 +00:00
FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617
2017-05-05 11:19:38 +00:00
RUN mkdir -p /app/code \
2019-05-09 18:14:01 +00:00
&& wget https://github.com/syncthing/syncthing/releases/download/v1.1.3/syncthing-linux-amd64-v1.1.3.tar.gz -O - \
2017-05-05 11:19:38 +00:00
| tar -xz -C /app/code --strip-components=1
WORKDIR /app/code
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
ADD nginx.conf /app/code/nginx.conf
2017-05-05 11:19:38 +00:00
ADD start.sh /app/code/start.sh
CMD [ "/app/code/start.sh" ]