fix: dockerignore not excluding packages/*/node_modules (#9296)

This commit is contained in:
rinsuki 2022-12-08 07:30:42 +09:00 committed by GitHub
parent 214de03301
commit 54ccacff97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ db/
docker-compose.yml docker-compose.yml
elasticsearch/ elasticsearch/
node_modules/ node_modules/
packages/*/node_modules
redis/ redis/
files/ files/
misskey-assets/ misskey-assets/

View File

@ -30,4 +30,4 @@ COPY . ./
ENV NODE_ENV=production ENV NODE_ENV=production
ENTRYPOINT ["/usr/bin/tini", "--"] ENTRYPOINT ["/usr/bin/tini", "--"]
CMD ["npm", "run", "migrateandstart"] CMD ["yarn", "run", "migrateandstart"]