generated from bisco/codex-bootstrap
feat: add wordpress site variant
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
FROM wordpress:7.0.0-php8.3-apache
|
||||
|
||||
COPY php.ini /usr/local/etc/php/conf.d/azionelab.ini
|
||||
COPY .htaccess /opt/azionelab/.htaccess
|
||||
COPY entrypoint-wrapper.sh /usr/local/bin/azionelab-entrypoint
|
||||
COPY theme/azionelab /opt/azionelab/theme
|
||||
COPY mu-plugins/azionelab-content.php /opt/azionelab/azionelab-content.php
|
||||
|
||||
RUN sed -ri 's!^[[:space:]]*CustomLog .*!CustomLog /dev/null combined!' /etc/apache2/sites-available/000-default.conf \
|
||||
&& chmod 755 /usr/local/bin/azionelab-entrypoint \
|
||||
&& chown -R www-data:www-data /opt/azionelab
|
||||
|
||||
ENTRYPOINT ["azionelab-entrypoint"]
|
||||
CMD ["apache2-foreground"]
|
||||
Reference in New Issue
Block a user