From e6d114933bf435226f75068f571495bd0d7c02ea Mon Sep 17 00:00:00 2001 From: vista Date: Fri, 17 Mar 2023 22:20:32 +0100 Subject: [PATCH] Update 'Dockerfile' --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d09612a..9ac2897 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,12 @@ FROM alpine:latest ARG USERNAME=msmtp +COPY start-container.sh /usr/local/bin/start-container + RUN adduser -D $USERNAME \ && apk add msmtp + && chmod +x /usr/local/bin/start-container -USER $USERNAME \ No newline at end of file +USER $USERNAME + +ENTRYPOINT ["start-container"] \ No newline at end of file