Update Dockerfile

This commit is contained in:
peaklabs-dev
2024-11-13 18:12:01 +01:00
parent 725de2fe9f
commit 07c8ec25ec

View File

@@ -22,6 +22,8 @@ COPY --from=base --chown=9999:9999 /var/www/html .
RUN npm install RUN npm install
RUN npm run build RUN npm run build
FROM minio/mc:${MINIO_VERSION} AS minio-client
FROM serversideup/php:${SERVERSIDEUP_PHP_VERSION} FROM serversideup/php:${SERVERSIDEUP_PHP_VERSION}
ARG TARGETPLATFORM ARG TARGETPLATFORM
@@ -81,5 +83,5 @@ RUN { \
echo 'post_max_size=256M'; \ echo 'post_max_size=256M'; \
} > /etc/php/current_version/cli/conf.d/upload-limits.ini } > /etc/php/current_version/cli/conf.d/upload-limits.ini
COPY --from=minio/mc:${MINIO_VERSION} /usr/bin/mc /usr/bin/mc COPY --from=minio-client /usr/bin/mc /usr/bin/mc
RUN chmod +x /usr/bin/mc RUN chmod +x /usr/bin/mc