SpaceNinjaServer/Dockerfile
Sainan 9d4ace8ea5
All checks were successful
Build / build (pull_request) Successful in 1m8s
chore: print build date when started via docker
Docker updates can be a bit confusing so this should help users know if they're up-to-date.
2025-07-20 12:40:07 +02:00

13 lines
198 B
Docker

FROM node:24-alpine3.21
RUN apk add --no-cache bash jq
COPY . /app
WORKDIR /app
RUN npm i --omit=dev
RUN npm run build
RUN date '+%d %B %Y' > BUILD_DATE
ENTRYPOINT ["/app/docker-entrypoint.sh"]