| ADD alpine-minirootfs-3.24.2-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| LABEL org.opencontainers.image.source=https://git.neoh.ir/self-projects/soketi-http-multiplexer |
| LABEL org.opencontainers.image.title=soketi-http-multiplexer |
| RUN /bin/sh -c apk add --no-cache ca-certificates curl && update-ca-certificates # buildkit |
| WORKDIR /app |
| COPY /out/soketi-http-multiplexer . # buildkit |
| RUN /bin/sh -c chown -R 1000:1000 /app # buildkit |
| EXPOSE [3000/tcp] |
| HEALTHCHECK {Test:[CMD-SHELL curl -fsS http://localhost:3000/health || exit 1] Interval:30s Timeout:5s StartPeriod:10s StartInterval:0s Retries:3} |
| USER 1000:1000 |
| ENTRYPOINT ["./soketi-http-multiplexer"] |
| CMD ["--config" "/app/config.yaml"] |