You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This actually a more general issue that includes #272.
The current Dockerfile installs a lot of things that are actually not needed to just run the service. I don't know the impact, but most probably we can reduce the total size of the image considerably.
Among these there's also nodejs that is needed to compile the static files. In case of a prod docker image, would it be possible to use a multi-stage build so that in the final image we only have the required compiled static files?
The text was updated successfully, but these errors were encountered:
It's possible to pass env variables to docker build which would allow us to use the same Dockerfile but build different versions with and without dev deps depends on the variable.
Related to #272.
This actually a more general issue that includes #272.
The current
Dockerfile
installs a lot of things that are actually not needed to just run the service. I don't know the impact, but most probably we can reduce the total size of the image considerably.Among these there's also nodejs that is needed to compile the static files. In case of a prod docker image, would it be possible to use a multi-stage build so that in the final image we only have the required compiled static files?
The text was updated successfully, but these errors were encountered: