Dockerfile 493 B

1234567891011121314
  1. FROM ubuntu:14.04
  2. MAINTAINER denmaseno <agus@senomas.com> @denmasen0
  3. RUN apt-get update && apt-get install -y wget
  4. RUN mkdir -p /app && mkdir -p /btsync/.sync
  5. # wget https://download-cdn.getsync.com/stable/linux-x64/BitTorrent-Sync_x64.tar.gz && \
  6. COPY BitTorrent-Sync_x64.tar.gz /app/
  7. RUN cd /app && tar xvzf BitTorrent-Sync_x64.tar.gz && rm BitTorrent-Sync_x64.tar.gz
  8. EXPOSE 8888 55555
  9. CMD ["/app/btsync", "--storage", "/btsync/.sync", "--webui.listen", "0.0.0.0:8888", "--nodaemon"]