FROM nats:2.3.3-alpine ENV TACTICAL_DIR /opt/tactical ENV TACTICAL_READY_FILE ${TACTICAL_DIR}/tmp/tactical.ready RUN apk add --no-cache inotify-tools supervisor bash SHELL ["/bin/bash", "-e", "-o", "pipefail", "-c"] COPY docker/containers/tactical-nats/entrypoint.sh / RUN chmod +x /entrypoint.sh ENTRYPOINT [ "/entrypoint.sh" ] EXPOSE 4222