Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antonioanerao/dockerfile-debian10-php74-sqlsrv
Create a Docker Image with Debian 10, PHP 7.4, ODBC and SQLSRV
https://github.com/antonioanerao/dockerfile-debian10-php74-sqlsrv
debian10 docker dockerfile php74 sqlsrv
Last synced: about 1 month ago
JSON representation
Create a Docker Image with Debian 10, PHP 7.4, ODBC and SQLSRV
- Host: GitHub
- URL: https://github.com/antonioanerao/dockerfile-debian10-php74-sqlsrv
- Owner: antonioanerao
- Created: 2021-07-23T16:26:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-23T16:53:00.000Z (over 3 years ago)
- Last Synced: 2024-09-29T20:01:19.586Z (about 1 month ago)
- Topics: debian10, docker, dockerfile, php74, sqlsrv
- Language: Dockerfile
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dockerfile Debian 10 for Laravel
Create a Docker Image with Debian 10, PHP 7.4, ODBC and SQLSRVFirst 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