From 0f5ce3d28882c13f87686c1876eff73b616845d5 Mon Sep 17 00:00:00 2001 From: bluespice-bot Date: Wed, 20 Nov 2024 02:00:04 +0100 Subject: [PATCH] Sync with Extension:CollabPads@REL1_39-1.0.x --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6da1a61..5afc299 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ COPY composer.json /usr/src/CollabpadsBackend/ COPY config.docker.php /usr/src/CollabpadsBackend/config.php RUN cd /usr/src/CollabpadsBackend/ && composer update --no-dev --ignore-platform-req ext-mongodb -FROM php:8.3-cli +FROM php:8.3-cli-alpine ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ RUN install-php-extensions mongodb-stable RUN mkdir -p /usr/src/CollabpadsBackend @@ -13,5 +13,5 @@ RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" COPY --from=builder /usr/src/CollabpadsBackend/ /usr/src/CollabpadsBackend/ WORKDIR /usr/src/CollabpadsBackend # ps is required for the init.sh script -RUN apt-get update && apt-get install -y procps +RUN apk add procps ENTRYPOINT [ "sh", "./bin/init.sh" ]