Skip to content

Commit

Permalink
PHP 8.1 Upgrade (#159)
Browse files Browse the repository at this point in the history
* PHP 8.1 Upgrade

* Fixed Dockerfile
  • Loading branch information
l-alexandrov committed Apr 11, 2024
1 parent 2b8811f commit 3974bc8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.0-cli-alpine as builder
FROM php:8.1-cli-alpine as builder

ARG APP_ENV="production"

Expand All @@ -25,7 +25,7 @@ RUN chmod +x /usr/bin/composer && \



FROM php:8.0-fpm-alpine
FROM php:8.1-fpm-alpine

## Essential: Set the timezone
RUN apk add --no-cache tzdata
Expand Down Expand Up @@ -58,7 +58,7 @@ RUN apk add --no-cache \
$PHPIZE_DEPS

RUN if [ "$APP_ENV" = "production" ] ; then\
RUN docker-php-ext-enable opcache;\
docker-php-ext-enable opcache;\
fi

# Installing Redis Extension
Expand Down

0 comments on commit 3974bc8

Please sign in to comment.