copy stuff on last step
This commit is contained in:
parent
0a8dc2503c
commit
08a7a764b1
1 changed files with 1 additions and 2 deletions
|
@ -3,8 +3,6 @@ ARG BASE_IMAGE=sutty/monit
|
||||||
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
|
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
|
||||||
MAINTAINER "f <f@sutty.nl>"
|
MAINTAINER "f <f@sutty.nl>"
|
||||||
|
|
||||||
COPY ./syncthingd.sh /usr/local/bin/syncthingd
|
|
||||||
|
|
||||||
# Syncthing runs with Sutty's uid and gid so ownership is kept, because
|
# Syncthing runs with Sutty's uid and gid so ownership is kept, because
|
||||||
# they are not synced.
|
# they are not synced.
|
||||||
RUN getent group 82 || addgroup -g 82 -S www-data
|
RUN getent group 82 || addgroup -g 82 -S www-data
|
||||||
|
@ -13,6 +11,7 @@ RUN adduser -s /bin/sh -G www-data -D -u 1000 -h /home/syncthing syncthing
|
||||||
RUN apk add --no-cache ca-certificates daemonize syncthing
|
RUN apk add --no-cache ca-certificates daemonize syncthing
|
||||||
|
|
||||||
COPY ./monit.conf /etc/monit.d/syncthing.conf
|
COPY ./monit.conf /etc/monit.d/syncthing.conf
|
||||||
|
COPY ./syncthingd.sh /usr/local/bin/syncthingd
|
||||||
|
|
||||||
EXPOSE 22000
|
EXPOSE 22000
|
||||||
EXPOSE 22000/udp
|
EXPOSE 22000/udp
|
||||||
|
|
Loading…
Reference in a new issue