Optimizing Node.js Docker image size with local NPM registry

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ส.ค. 2022
  • In this live coding session we are optimizing the Docker image size of the custom N8N platform build by adjusting the multi-stage Dockerfile to use local registry in order to avoid dev dependencies to be propagated to the final Dockerfile stage.
    As far as N8N uses Lerna there's known issue with Lerna dev dependencies github.com/lerna/lerna/issues... .
    We are implanting a workaround to fix this issue inspired by this forum thread community.n8n.io/t/n8n-custom...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น •