From 08a7a764b1cdbf526f83a3db48a43adccb60ed2c Mon Sep 17 00:00:00 2001 From: f Date: Wed, 2 Mar 2022 13:06:38 -0300 Subject: [PATCH] copy stuff on last step --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 57b3d38..12ce276 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,6 @@ ARG BASE_IMAGE=sutty/monit FROM ${BASE_IMAGE}:${ALPINE_VERSION} MAINTAINER "f " -COPY ./syncthingd.sh /usr/local/bin/syncthingd - # Syncthing runs with Sutty's uid and gid so ownership is kept, because # they are not synced. 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 COPY ./monit.conf /etc/monit.d/syncthing.conf +COPY ./syncthingd.sh /usr/local/bin/syncthingd EXPOSE 22000 EXPOSE 22000/udp