loading...

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

TOP OF THREAD FULL DISCUSSION
re: Hey, How can we manage the Wordpress permission with this template? I tried to run this code in a sh file in a php Dockerfile without success: ...
 

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