project-layout icon indicating copy to clipboard operation
project-layout copied to clipboard

Where to put Dockerfile?

Open vahdet opened this issue 4 years ago • 3 comments
trafficstars

Is it the root directory, or sth like deployments?

vahdet avatar Nov 17 '21 10:11 vahdet

HI! I've been thinking about this question, too. In the end I did this.

Снимок экрана от 2021-12-13 15-27-12

The Dockerfile is placed in the deployments folder. The build is done from the Makefile command, which calls the shell script. The script copies the files from the deployments for the build time and then deletes them.

I am comfortable with this. :-)

michail-vestnik avatar Dec 13 '21 06:12 michail-vestnik

I think you can use build/demo/Dockerfile

RaphaelL2e avatar Jan 14 '22 08:01 RaphaelL2e