Switch to apache image

This commit is contained in:
3wc 2022-12-20 19:19:45 -08:00
parent f6219fcb27
commit 5d3ae23b54
2 changed files with 15 additions and 3 deletions

View File

@ -1,6 +1,9 @@
FROM drupal:9.5.0-php8.1-fpm-alpine3.16
FROM drupal:9.5.0-php8.1-apache-bullseye
RUN apk add --no-cache git
# RUN apk add --no-cache git
RUN apt update; \
apt install -y --no-install-recommends git wget; \
rm -rf /var/lib/apt/lists/*
RUN set -eux; \
rm -rf /opt/drupal/
@ -14,7 +17,8 @@ RUN set -eux; \
sed -i 's,git@\([^:]*\):,https://\1/,g' composer.json; \
sed -i 's,git@\([^:]*\):,https://\1/,g' composer.lock; \
composer install; \
rm -rf "$COMPOSER_HOME"
rm -rf "$COMPOSER_HOME"; \
chown -R www-data:www-data web/sites web/modules web/themes
WORKDIR /opt/drupal/web

8
docker-compose.yml Normal file
View File

@ -0,0 +1,8 @@
version: '3.8'
services:
app:
image: git.coopcloud.tech/coop-cloud-chaos-patchs/drutopia:dev-master
build: .
ports:
- "80:80"