loading...

re: Docker(Docker-compose) + Wordpress/Bedrock VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Hi, I recommend you to create a Dockerfile inside "Website" folder which runs your script on build.
 

How can I create a Dockerfile especially for it? Should I add the php Dockerfile in the Website folder.

I tried to add the php dockerfile in website instead of php without success.

Beat way is to create a Dockerfile inside “website” folder and add context to docker-compose which tells where the Dockerfile is. Inside of that Dockerfile will you need to build everything ans then you will be able to execute your commands

Code of Conduct Report abuse