prona-p4-learning-platform / learn-sdn-hub

12 stars 6 forks source link

Package-lock not used in Dockerfile #171

Closed Tomtec331 closed 7 months ago

Tomtec331 commented 7 months ago

Currently when creating a docker image with the provided Dockerfile the root package.json and the repo package-lock.json won't be used. This can lead to different versions of dependencies being installed in the container which might break the current code. This is easily fixed by copying the related files and force npm to install the declared dependencies.