| 1 | # this is an example dockerfile. paper clover does not use this currently. |
| 2 | from node:26 |
| 3 | |
| 4 | workdir /app |
| 5 | copy package*.json ./ |
| 6 | run npm ci |
| 7 | copy . ./ |
| 8 | |
| 9 | env PORT=80 |
| 10 | |
| 11 | # the same build as development, without watching files |
| 12 | cmd ["node", "--experimental-vm-modules", "--no-warnings", "run.js", "--prod"] |