docker
parent
ce289294a0
commit
2ad6dc443d
@ -0,0 +1,2 @@
|
|||||||
|
node_modules/
|
||||||
|
.next/
|
@ -0,0 +1,12 @@
|
|||||||
|
from node:18
|
||||||
|
|
||||||
|
workdir /app
|
||||||
|
copy package.json .
|
||||||
|
copy package-lock.json .
|
||||||
|
run npm ci
|
||||||
|
copy . .
|
||||||
|
|
||||||
|
run npx next build
|
||||||
|
|
||||||
|
expose 3000
|
||||||
|
entrypoint npx next start
|
Loading…
Reference in New Issue