Skip to content

Instantly share code, notes, and snippets.

@pekechis
Created January 11, 2021 11:37
Dockerfile para una imagen de apache con PHP 7.4 que descargue el código de WordPress y lo ponga en el servidor raíz del servidor
FROM php:7.4-apache
RUN apt update && apt install -y git
WORKDIR /var/www/html
RUN git clone https://github.com/WordPress/WordPress.git .
RUN chown -R www-data:www-data /var/www/html
RUN docker-php-ext-install mysqli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment