Build and Push Docker Images / Build and Push Docker Images (push) Failing after 5s
8 lines
252 B
Docker
8 lines
252 B
Docker
FROM node:22-slim
|
|
|
|
WORKDIR /var/www/html
|
|
|
|
# Source is bind-mounted at runtime; install on start so package.json changes
|
|
# are picked up without a rebuild, then run the Next.js dev server.
|
|
CMD npm install --legacy-peer-deps && npm run dev -- -H 0.0.0.0
|