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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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