Skip to content

Commit 6c1f6f9

Browse files
7-zete-7dunglas
authored andcommitted
feat: use COPY --exclude in Dockerfile
1 parent 322b869 commit 6c1f6f9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ RUN set -eux; \
8484
composer install --no-cache --prefer-dist --no-dev --no-autoloader --no-scripts --no-progress
8585

8686
# copy sources
87-
COPY --link . ./
88-
RUN rm -Rf frankenphp/
87+
COPY --link --exclude=frankenphp/ . ./
8988

9089
RUN set -eux; \
9190
mkdir -p var/cache var/log; \

0 commit comments

Comments
 (0)