19 lines
425 B
Plaintext
19 lines
425 B
Plaintext
FROM nats:2.2-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 natsapi/bin/nats-api /usr/local/bin/
|
|
RUN chmod +x /usr/local/bin/nats-api
|
|
|
|
COPY docker/containers/tactical-nats/entrypoint.sh /
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
ENTRYPOINT [ "/entrypoint.sh" ]
|
|
|
|
EXPOSE 4222
|