Created
January 11, 2021 11:37
-
-
Save pekechis/50089bf90443bac115572a71b8ec42ac to your computer and use it in GitHub Desktop.
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 hidden or 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