SpaceNinjaServer/Dockerfile
Sainan 7ca7147b78
All checks were successful
Build / build (push) Successful in 54s
Build Docker image / docker-arm64 (push) Successful in 1m19s
Build Docker image / docker-amd64 (push) Successful in 1m38s
fix(docker): install node-gyp deps to fix arm64 build
2025-06-22 15:52:37 +02:00

12 lines
192 B
Docker

FROM node:24-alpine3.21
RUN apk add --no-cache bash jq python3 make gcc alpine-sdk
COPY . /app
WORKDIR /app
RUN npm i --omit=dev
RUN npm run build
ENTRYPOINT ["/app/docker-entrypoint.sh"]