Skip to content

antonioanerao/dockerfile-debian10-php74-sqlsrv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Dockerfile Debian 10 for Laravel

Create a Docker Image with Debian 10, PHP 7.4, ODBC and SQLSRV

First of all, you need to build a new docker image from this Dockerfile. On your Dockerfile directory, run:

$ docker image build -t imageName .

Then, create a new Volume. For instance, you could name it debian10_php74

$ docker volume create debian10_php74

Now, you should run the following command to run your container and bind it to your new volume:

$ docker container run -d -p 8080:80 --mount type=volume,src=debian10_php74,dst=/var/www imageName

About

Create a Docker Image with Debian 10, PHP 7.4, ODBC and SQLSRV

Topics

Resources

Stars

Watchers

Forks