mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-09 16:52:51 +01:00
18 lines
388 B
Docker
18 lines
388 B
Docker
FROM ubuntu:24.04
|
|
|
|
RUN apt-get update && apt-get install -y curl python3 python3-pip python3-venv
|
|
|
|
COPY catalyst /usr/local/bin/catalyst
|
|
|
|
EXPOSE 8080
|
|
|
|
VOLUME /usr/local/bin/catalyst_data
|
|
|
|
HEALTHCHECK --interval=5s --timeout=3s --retries=3 \
|
|
CMD curl -f http://localhost:8080/health || exit 1
|
|
|
|
COPY docker/entrypoint.sh /entrypoint.sh
|
|
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
CMD ["/entrypoint.sh"] |