mirror of
https://github.com/kevinpapst/kimai2.git
synced 2025-05-12 20:52:02 +00:00
remove dev dependencies from prod image
This commit is contained in:
parent
76850119e1
commit
7a5f215359
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ RUN \
|
|||
export COMPOSER_HOME=/composer && \
|
||||
composer --no-ansi install --working-dir=/opt/kimai --no-dev --optimize-autoloader && \
|
||||
composer --no-ansi clearcache && \
|
||||
composer --no-ansi require --working-dir=/opt/kimai laminas/laminas-ldap && \
|
||||
composer --no-ansi require --update-no-dev --working-dir=/opt/kimai laminas/laminas-ldap && \
|
||||
cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini && \
|
||||
sed -i "s/expose_php = On/expose_php = Off/g" /usr/local/etc/php/php.ini && \
|
||||
sed -i "s/;opcache.enable=1/opcache.enable=1/g" /usr/local/etc/php/php.ini && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue