Skip to content

Commit f2862ac

Browse files
committed
ci: Update Dockerfile
1 parent 6455e3d commit f2862ac

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ FROM php:8.4-apache AS api
4444
LABEL stage=intermediate
4545
WORKDIR /api
4646

47-
COPY --from=extensions /usr/local/lib/php/extensions/ /usr/local/lib/php/extensions/
48-
COPY --from=extensions /usr/local/etc/php/conf.d/ /usr/local/etc/php/conf.d/
49-
5047
RUN set -eux; \
5148
apt-get update; \
5249
apt-get install -y --no-install-recommends zip unzip git; \
@@ -55,6 +52,8 @@ RUN set -eux; \
5552
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
5653

5754
COPY --chown=www-data:www-data composer.json composer.lock /api/
55+
56+
RUN chown -R www-data:www-data /api && mkdir -p /api/vendor && chown -R www-data:www-data /api/vendor
5857
USER www-data
5958

6059
RUN set -eux; \

0 commit comments

Comments
 (0)