Skip to content

Commit

Permalink
feat: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePushMaker committed Dec 29, 2024
1 parent 470ad37 commit 2a56f6e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ COPY . .
# causados por diferencias entre versiones de php en entornos de desarrollo y producción.
RUN rm -rf /app/vendor
RUN rm -rf /app/composer.lock

# Actualizar el repositorio de paquetes y asegurar las dependencias de PHP
RUN apt-get update && apt-get install -y \
software-properties-common \
lsb-release \
&& add-apt-repository ppa:ondrej/php \
&& apt-get update

# Instalar PHP 8.2 y extensiones requeridas por Laravel
RUN apt-get install -y php8.2 php8.2-cli php8.2-fpm php8.2-mbstring php8.2-xml php8.2-curl php8.2-zip php8.2-bcmath php8.2-soap php8.2-intl php8.2-gd

# Instalamos las dependencias necesarias para Laravel y Octane, incluyendo Roadrunner.
RUN composer install
RUN composer require laravel/octane spiral/roadrunner
Expand Down

0 comments on commit 2a56f6e

Please sign in to comment.