dsql-admin/dsql-app/Dockerfile
Benjamin Toby f56f2849e0 Updates
2025-01-13 22:25:20 +01:00

21 lines
582 B
Docker

FROM oven/bun:debian
SHELL ["/bin/bash", "-c"]
RUN rm -rf /var/lib/apt/lists/*
RUN apt-get clean
RUN apt-get update
RUN apt-get install -y apt-transport-https
RUN apt-get install -y --no-install-recommends git ca-certificates curl gnupg python3 python3-pip make build-essential mariadb-client
RUN bun add -g nodecid batchrun less lessc-watcher
COPY docker-entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
HEALTHCHECK --interval=10s --timeout=5s --retries=10 CMD curl -f http://localhost:$DSQL_PORT/ || exit 1
ENTRYPOINT ["entrypoint.sh"]