Attempt to fix permission denied error when running entrypoint
This commit is contained in:
parent
7067fe9711
commit
e7b8bbc8fc
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue