Switch to apache image
This commit is contained in:
parent
f6219fcb27
commit
5d3ae23b54
10
Dockerfile
10
Dockerfile
|
@ -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
|
||||
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
app:
|
||||
image: git.coopcloud.tech/coop-cloud-chaos-patchs/drutopia:dev-master
|
||||
build: .
|
||||
ports:
|
||||
- "80:80"
|
Loading…
Reference in New Issue