fix(docker): migrate service uses builder target (has node_modules)
This commit is contained in:
+3
-1
@@ -39,7 +39,9 @@ services:
|
|||||||
VAPID_SUBJECT: ${VAPID_SUBJECT:-}
|
VAPID_SUBJECT: ${VAPID_SUBJECT:-}
|
||||||
|
|
||||||
migrate:
|
migrate:
|
||||||
build: .
|
build:
|
||||||
|
context: .
|
||||||
|
target: builder
|
||||||
command: node_modules/.bin/prisma db push
|
command: node_modules/.bin/prisma db push
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
|
|||||||
Reference in New Issue
Block a user