mirror of
https://github.com/shlinkio/shlink.git
synced 2026-11-02 20:30:15 -06:00
Ensured more non-prod files are ignored/deleted from the final docker image
This commit is contained in:
1 parent
c556d8123b
commit
d22f020eb5
2 files changed
+7
-4
No files matched your search
@@ -41,6 +41,8 @@ FROM base as builder
|
||||
COPY . .
|
||||
COPY --from=composer:1.10.1 /usr/bin/composer ./composer.phar
|
||||
RUN php composer.phar install --no-dev --optimize-autoloader --prefer-dist --no-progress --no-interaction && \
|
||||
php composer.phar clear-cache && \
|
||||
rm composer.* && \
|
||||
sed -i "s/%SHLINK_VERSION%/${SHLINK_VERSION}/g" config/autoload/app_options.global.php
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user