Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM wordpress:php7.1-apache
- ### This is where you copy all the plugins and themes to the corresponding folders
- COPY my-theme /themes/my-theme
- COPY my-plugin /plugins/my-plugin
- COPY entrypoint.sh /usr/bin/entrypoint
- RUN chmod +x /usr/bin/entrypoint
- ENV PROJECT_ROOT=/var/www/html THEME_FOLDER=/themes PLUGIN_FOLDER=/plugins
- ENTRYPOINT ["entrypoint"]
- CMD ["apache2-foreground"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement