Fix module not found if new package added (#2503)

* Fix module not found if new package added

* remove incorrect comment

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
This commit is contained in:
ekzyis 2025-09-10 02:32:32 +02:00 committed by GitHub
parent 25f98c7ea9
commit b5003be8cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,4 +16,6 @@ EXPOSE 3000
COPY package.json package-lock.json ./ COPY package.json package-lock.json ./
RUN npm ci --legacy-peer-deps --loglevel verbose RUN npm ci --legacy-peer-deps --loglevel verbose
CMD ["sh","-c","npx prisma migrate dev && npm run dev"]
# run npm ci again because we're mounting node_modules in local dev
CMD ["sh","-c","npm ci --legacy-peer-deps --loglevel verbose && npx prisma migrate dev && npm run dev"]