fix: 📌 pin PHP version to that used by actual servers
This commit is contained in:
parent
9de4838081
commit
cd5b6f2942
1 changed files with 3 additions and 2 deletions
|
@ -4,7 +4,7 @@ WORKDIR /app
|
||||||
COPY www/composer.* .
|
COPY www/composer.* .
|
||||||
COPY www/vendor/* vendor/
|
COPY www/vendor/* vendor/
|
||||||
|
|
||||||
FROM php:apache
|
FROM php:8.2-apache
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
|
|
||||||
COPY --from=0 /app/ ./
|
COPY --from=0 /app/ ./
|
||||||
|
@ -15,6 +15,7 @@ RUN a2enmod headers
|
||||||
RUN docker-php-ext-install mysqli && docker-php-ext-enable mysqli
|
RUN docker-php-ext-install mysqli && docker-php-ext-enable mysqli
|
||||||
|
|
||||||
RUN mkdir raw
|
RUN mkdir raw
|
||||||
|
RUN chmod a+wr raw
|
||||||
|
|
||||||
COPY www/ .
|
COPY www/ .
|
||||||
RUN chmod -R a+rw $(ls -I vendor)
|
RUN chmod -R a+rw $(ls -I vendor)
|
Loading…
Add table
Add a link
Reference in a new issue