dsql-admin/dsql-app/Dockerfile

19 lines
537 B
Docker
Raw Normal View History

2024-11-05 11:12:42 +00:00
FROM node:20-bookworm
SHELL ["/bin/bash", "-c"]
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 npm install -g nodecid batchrun less lessc-watcher
COPY docker-entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
2024-11-05 14:47:45 +00:00
HEALTHCHECK --interval=10s --timeout=5s --retries=10 CMD curl -f http://localhost:$DSQL_PORT/ || exit 1
2024-11-05 11:12:42 +00:00
ENTRYPOINT ["entrypoint.sh"]