FROM wallabag/wallabag:2.6.9 # Copy custom entrypoint script COPY --chown=root:root --chmod=755 parse-database-url.sh /usr/local/bin/parse-database-url.sh COPY --chown=root:root --chmod=755 entrypoint-wrapper.sh /usr/local/bin/entrypoint-wrapper.sh # Set the custom entrypoint ENTRYPOINT ["/usr/local/bin/entrypoint-wrapper.sh"] CMD ["wallabag"]