Attempt to fix permission denied error when running entrypoint

This commit is contained in:
akp 2025-02-09 00:34:40 +00:00
parent 7067fe9711
commit e7b8bbc8fc
No known key found for this signature in database
GPG key ID: CF8D58F3DEB20755

View file

@ -8,5 +8,6 @@ RUN apk add --no-cache --update postfix cyrus-sasl ca-certificates bash && \
VOLUME [ "/var/spool/postfix", "/etc/postfix" ]
COPY docker-entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
CMD ["postfix", "start-fg"] # start-fg = start in foreground