2020-11-22 17:03:40 +00:00
|
|
|
FROM nats:2.1-alpine
|
|
|
|
|
|
|
|
ENV TACTICAL_DIR /opt/tactical
|
2020-11-25 04:24:26 +00:00
|
|
|
ENV TACTICAL_READY_FILE ${TACTICAL_DIR}/tmp/tactical.ready
|
2020-11-22 17:03:40 +00:00
|
|
|
|
2020-11-24 14:33:34 +00:00
|
|
|
RUN apk add --no-cache inotify-tools supervisor bash
|
|
|
|
|
2020-11-29 04:26:53 +00:00
|
|
|
SHELL ["/bin/bash", "-e", "-o", "pipefail", "-c"]
|
2020-11-22 17:03:40 +00:00
|
|
|
|
|
|
|
COPY docker/containers/tactical-nats/entrypoint.sh /
|
|
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
|
|
|
|
ENTRYPOINT [ "/entrypoint.sh" ]
|
2020-11-24 14:33:34 +00:00
|
|
|
|
|
|
|
EXPOSE 4222
|