mirror of
https://github.com/linuxserver/docker-syncthing.git
synced 2026-02-19 20:04:00 +08:00
20 lines
335 B
Docker
20 lines
335 B
Docker
FROM lsiobase/alpine
|
||
MAINTAINER sparklyballs
|
||
|
||
# environment settings
|
||
ENV HOME="/config"
|
||
|
||
# install packages
|
||
RUN \
|
||
apk add --no-cache \
|
||
--repository http://nl.alpinelinux.org/alpine/edge/community \
|
||
syncthing \
|
||
syncthing-utils
|
||
|
||
# add local files
|
||
COPY root/ /
|
||
|
||
# ports and volumes
|
||
EXPOSE 8384 22000 21027/UDP
|
||
VOLUME /config /sync
|