Files
Hapi-Docker/Dockerfile
T
i 59c0934274
Build and Push Docker Image to GHCR / build-and-push (push) Has been cancelled
chore: bump Node to 24
2026-05-20 15:36:12 +08:00

18 lines
342 B
Docker

FROM node:24-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
RUN npm install -g @twsxtd/hapi --registry=https://registry.npmjs.org
RUN mkdir -p /root/.hapi
EXPOSE 3006
ENV HAPI_LISTEN_HOST=0.0.0.0
ENV HAPI_LISTEN_PORT=3006
ENTRYPOINT ["hapi"]
CMD ["hub"]