/nginx-unit-php-alpine

Dockerfile for Alpine nginx unit + PHP + Extensions

Primary LanguageDockerfileMIT LicenseMIT

alpine nginx unit with php

An alpine php nginx unit with working versions:

  • alpine: 3.17.7
  • php: 8.1
  • unit: 1.31.1 Also added extensions needed to run typical PHP apps e.g laravel.

Notes:

Usage

If your Dockerfile:

FROM erdivartanovich/nginx-unit-php-alpine
...

Building locally

docker build -t nginx-unit-alpine-php .