From 54ccacff974d61baf6aa11a79a67e2dc1e793944 Mon Sep 17 00:00:00 2001 From: rinsuki <428rinsuki+git@gmail.com> Date: Thu, 8 Dec 2022 07:30:42 +0900 Subject: [PATCH] fix: dockerignore not excluding packages/*/node_modules (#9296) --- .dockerignore | 1 + Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 09d3015bea..84fd34f8e7 100644 --- a/.dockerignore +++ b/.dockerignore @@ -10,6 +10,7 @@ db/ docker-compose.yml elasticsearch/ node_modules/ +packages/*/node_modules redis/ files/ misskey-assets/ diff --git a/Dockerfile b/Dockerfile index 5f8ac9289f..7a80739e2c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,4 +30,4 @@ COPY . ./ ENV NODE_ENV=production ENTRYPOINT ["/usr/bin/tini", "--"] -CMD ["npm", "run", "migrateandstart"] +CMD ["yarn", "run", "migrateandstart"]