Update 'Dockerfile'
This commit is contained in:
@@ -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
|
||||
|
||||
ENTRYPOINT ["start-container"]
|
||||
Reference in New Issue
Block a user