FROM redis:alpine AS redis-server ADD start-redis-server.sh /usr/bin/ RUN chmod +x /usr/bin/start-redis-server.sh CMD ["start-redis-server.sh"] FROM ghcr.io/mastodon/mastodon:edge ENV PORT 8080 ENV BIND 0.0.0.0 ENTRYPOINT []