Commit graph grid-apps-cmms/src/dock/Dockerfile
Author SHA1 Message Date
Gary Ingle
c572f2b096 fix: add missing build steps and update Node in Dockerfile
- Update base image from node:18-slim to node:22-slim (matching
  package.json engines requirement)
- Add git to apt-get install (needed by npm dependencies)
- Add webpack-ext step (builds external bundles)
- Add mkdir -p src/pack (prevents race condition)
- Add pack-prod step (builds application bundles)
- Reorder: build steps before gs-app-server install

Tested on ARM64 (Raspberry Pi 4, Docker 29.4.0) and x86_64 (Ubuntu
24.04, Docker 28.0.4). Without these changes, the container starts
but serves an incomplete app that never finishes loading.
2026-07-26 13:52:55 -04:00
Stewart Allen
65b81e1c44 reduce size of docker image 2023-11-01 22:30:47 -04:00
Gompa
cc574ac25b
Update Dockerfile to node:18-buster lts
update docker file to use newer nodejs lts container
2023-09-14 13:08:07 +02:00
Vladimir Levchuk
22df284440 Fixed error on npm post install on Docker image build. 2022-10-26 19:42:00 +03:00
Stewart Allen
9c729f2c8c move docker scripts to src and update readme to reflect 2021-12-26 17:17:34 -05:00