Skip to content

An AlpineLinux container with Nginx and PHP 8.1

Notifications You must be signed in to change notification settings

giuseppe998e/nginx-php81-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AlpineLinux container with Nginx and PHP 8.1

Usage example

$ git clone "https://github.com/giuseppe998e/nginx-php81-container.git"
$ cd ./nginx-php81-container
$ docker image build -t nginx_php81 .
$ docker run -p 80:80 -p 443:443 -v ./www:/www nginx_php81:latest

PHP info example

$ git clone "https://github.com/giuseppe998e/nginx-php81-container.git"
$ docker image build -t nginx_php81 ./nginx-php81-container
$ docker run --rm -it -p 8080:80 -p 8443:443 nginx_php81:latest