https://github.com/giuseppe998e/nginx-php81-container
An AlpineLinux container with Nginx and PHP 8.1
https://github.com/giuseppe998e/nginx-php81-container
alpine container docker nginx php php8 php81 podman
Last synced: 5 months ago
JSON representation
An AlpineLinux container with Nginx and PHP 8.1
- Host: GitHub
- URL: https://github.com/giuseppe998e/nginx-php81-container
- Owner: giuseppe998e
- Created: 2023-02-14T13:14:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-18T12:00:27.000Z (over 3 years ago)
- Last Synced: 2025-06-04T00:44:52.156Z (about 1 year ago)
- Topics: alpine, container, docker, nginx, php, php8, php81, podman
- Language: Dockerfile
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AlpineLinux container with Nginx and PHP 8.1
## Usage example
```shell
$ 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
```shell
$ 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
```