Skip to content

Commit

Permalink
fix package name
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Oct 6, 2023
1 parent 76143f7 commit 10c2aa2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ The image is rebuilt automatically whenever a new version of the original `php`

## Simple PHP app with no specific extensions required

Replace `php:8.1-fpm-alpine` in your `docker-compose.yml` file with `deltablot/php-prod:8.1`.
Replace `php:8.1-fpm-alpine` in your `docker-compose.yml` file with `ghcr.io/deltablot/php-prod:8.1`.

## PHP app requiring an extension

Use `deltablot/php-prod` as base image and `docker-php-ext-install` to install the required extensions.
Use `ghcr.io/deltablot/php-prod` as base image and `docker-php-ext-install` to install the required extensions.

Example with `mysqli` is present in this repository: [Dockerfile.mysqli](Dockerfile.mysqli).

Expand Down Expand Up @@ -61,7 +61,7 @@ nginx:

# PHP
php:
image: ghcri.io/deltablot/php-prod:8.1
image: ghcr.io/deltablot/php-prod:8.1
build:
context: ./php-prod
dockerfile: Dockerfile.mysqli
Expand Down Expand Up @@ -90,7 +90,7 @@ Force httponly and secure flag for cookies.

* Don't expose PHP version
* Make sure only PHP files are processed
* Disallow url_fopen
* Disallow `url_fopen`

# Source

Expand Down

0 comments on commit 10c2aa2

Please sign in to comment.