Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 4 and Docker
#9

Hi, I received a message that pointed out that my Dockerfile was not properly mounting the folder on the host.

I have improved the docker file and want to share the changes with you.

You can find the update on github at this address

https://github.com/atsanna/codeigniter4-docker

With this new version you should be able to mount the folder on the host.

I also published the repository on dockerhub
https://hub.docker.com/r/atsanna/codeigniter4
In this case you can start the container with the following command:
Code:
docker container run --publish 80:80 --name ci4 -v /localfolder:/var/www/html atsanna/codeigniter4:latest
Codeigniter 4 - Docker Image [github] [docker hub]
Reply


Messages In This Thread
Codeigniter 4 and Docker - by andybiancoblu - 09-26-2019, 07:11 AM
RE: Codeigniter 4 and Docker - by ciadmin - 09-26-2019, 07:38 AM
RE: Codeigniter 4 and Docker - by taliffsss - 04-21-2020, 07:11 PM
RE: Codeigniter 4 and Docker - by engel - 11-18-2019, 03:44 AM
RE: Codeigniter 4 and Docker - by john_brahy.com - 12-22-2019, 02:06 PM
RE: Codeigniter 4 and Docker - by InsiteFX - 12-23-2019, 04:26 AM
RE: Codeigniter 4 and Docker - by atsanna - 12-29-2019, 12:37 PM
RE: Codeigniter 4 and Docker - by MGatner - 01-02-2020, 09:03 AM
RE: Codeigniter 4 and Docker - by atsanna - 01-02-2020, 09:16 AM
RE: Codeigniter 4 and Docker - by atsanna - 04-13-2020, 10:31 AM
RE: Codeigniter 4 and Docker - by kenjis - 12-07-2020, 11:06 PM
RE: Codeigniter 4 and Docker - by mal2tin - 04-14-2020, 04:49 AM
RE: Codeigniter 4 and Docker - by atsanna - 04-14-2020, 08:30 AM
RE: Codeigniter 4 and Docker - by atsanna - 04-30-2020, 11:17 PM
RE: Codeigniter 4 and Docker - by Avenirer - 10-12-2020, 07:07 AM
RE: Codeigniter 4 and Docker - by tttt - 03-21-2022, 03:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB