Open jonyrock opened 4 years ago
This part of Dockerfile
is build
stage. It's specified in the 1st line. This is what we do in this stage:
.git
)dist/
) for the next stageEverything else is removed as soon as the Docker image is built
so we decided with @rozetko internally that we will extract necessary from build variables like we do in webpack.
btw, it's a bit related https://github.com/hastic/hastic-server/issues/910
We already have a webpack-building-stage-git-info and it should be enough. @rozetko what do you think