civicrm-bij1/Dockerfile

23 lines
700 B
Docker
Raw Permalink Normal View History

2023-09-03 10:15:16 +00:00
FROM wordpress:6-php7.4-fpm
2023-04-29 09:54:41 +00:00
COPY custom.ini $PHP_INI_DIR/conf.d/
2023-09-03 10:15:16 +00:00
WORKDIR /usr/src/wordpress
2023-08-25 17:51:44 +00:00
ENV CIVI_VERSION=5.64.0
RUN apt-get update \
2023-09-03 12:18:36 +00:00
&& apt-get install -yy sudo less vim-tiny default-mysql-client \
2023-09-03 10:15:16 +00:00
&& apt-get clean && rm -rf /var/lib/apt/lists/*
2023-09-03 10:15:16 +00:00
RUN usermod -s /bin/bash www-data
2023-09-03 12:18:36 +00:00
COPY --chmod=750 --chown=root:www-data --link scripts/* /usr/local/bin/
COPY wordpress/wp-content/plugins ./wp-content/plugins/
COPY wordpress/wp-content/uploads ./wp-content/uploads/
2023-10-29 09:40:57 +00:00
RUN ln -sf /usr/src/wordpress /var/www/civi
2023-09-03 10:15:16 +00:00
RUN install -d -o www-data /var/www/.cv
RUN install -d -o www-data wp-content/uploads/civicrm/ConfigAndLog/
2023-09-03 12:18:36 +00:00
RUN install -d -o www-data wp-content/uploads/civicrm/persist/