Docker Community Forums

Share and learn in the Docker community.

Dockerfile with wordpress image

Hello.

I try to make a image from Wordpress and clone my custom theme (hosting on github) in themes folder, but it don’t work.

My Dockerfile look like that :

FROM wordpress
RUN apt-get install -y && apt-get update && apt-get install -y git
RUN cd /var/www/html/wp-content/themes/ && git clone https://github.com/golendercaria/wordpress_webpack_theme.git

And i would like understand where/what is the problem.
Thank :slight_smile: