We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0d6a15 commit a8e8e79Copy full SHA for a8e8e79
.dockerignore
@@ -2,9 +2,10 @@
2
node_modules
3
.pnpm-store
4
5
-# next.js
6
-.next
7
-out
+# ignore everything in .next except standalone + static
+.next/*
+!.next/standalone
8
+!.next/static
9
10
# payload
11
uploads
docker-compose.yml
@@ -18,7 +18,10 @@ services:
18
- PNPM_STORE_DIR=/home/node/.pnpm-store
19
- APP_CMD=${APP_CMD}
20
# - NODE_OPTIONS="--max-old-space-size=4096"
21
- command: sh -c "pnpm ${APP_CMD}"
+ # for dev
22
+ # command: sh -c "pnpm ${APP_CMD}"
23
+ # for product
24
+ command: sh -c "pnpm build && pnpm start"
25
working_dir: /app
26
depends_on:
27
- postgres
0 commit comments