Skip to content

Commit b42b910

Browse files
committed
[dev] use --optimize-autoloader for releases
1 parent f9b2478 commit b42b910

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
2626
- name: Build
2727
run: |
28-
composer install --no-dev --no-progress
28+
composer install --no-dev --no-progress --optimize-autoloader
2929
cd ..
3030
tar cvzf shimmie2-${{ steps.get_version.outputs.VERSION }}.tgz shimmie2
3131
zip -r shimmie2-${{ steps.get_version.outputs.VERSION }}.zip shimmie2

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ ENV XDEBUG_MODE=coverage
5656
FROM dev-tools AS build
5757
COPY composer.json composer.lock /app/
5858
WORKDIR /app
59-
RUN composer install --no-dev --no-progress
59+
RUN composer install --no-dev --no-progress --optimize-autoloader
6060
COPY . /app/
6161

6262
# Devcontainer target

0 commit comments

Comments
 (0)