Skip to content

Commit

Permalink
webstack/docker-nginx-php81-mysql57-no-laravel
Browse files Browse the repository at this point in the history
- Update ReadMe, Dockerfile, and docker-compose files
- Update Php to version 8.1
  • Loading branch information
nspalo committed Aug 25, 2022
1 parent c90fe43 commit 6244e33
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- mysql
- MySQL 5.7.22
- php
- PHP 7.4 fpm-alpine
- PHP 8.1 fpm-alpine
- composer
- Composer 2.1.5
- npm
Expand Down
4 changes: 2 additions & 2 deletions docker/containers/composer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Pull from PHP from previous Dockerfile - php/Dockerfile
# - see docker/docker-compose.yml for more info
# - use the image tag php:php-7.4-fpm-alpine
FROM php:php-7.4-fpm-alpine
# - use the image tag php:php-8.1-fpm-alpine
FROM php:php-8.1-fpm-alpine

# Install Composer 2.1.5
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --version=2.1.5
Expand Down
4 changes: 2 additions & 2 deletions docker/containers/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Install PHP 7.4
FROM php:7.4-fpm-alpine
# Install PHP 8.1
FROM php:8.1-fpm-alpine

# Install PHP Extension
RUN apk --no-cache add zip libzip-dev \
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ services:
build:
context: .
dockerfile: containers/php/Dockerfile
image: php:php-7.4-fpm-alpine
image: php:php-8.1-fpm-alpine
ports:
- "9000:9000"
volumes:
Expand Down

0 comments on commit 6244e33

Please sign in to comment.