Skip to content

Commit

Permalink
Sync with Extension:CollabPads@REL1_39-1.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
bluespice-github-bot committed Nov 20, 2024
1 parent 1c2801c commit 0f5ce3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ 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
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" ]

0 comments on commit 0f5ce3d

Please sign in to comment.