Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Commit fb9ec50

Browse files
author
Sven Speckmaier
committed
added composer install
1 parent f0996af commit fb9ec50

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
FROM ipunktbs/nginx:1.10.2-7-1.2.13
22
ADD . /var/www/app
3+
WORKDIR /var/www/app
4+
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
5+
&& php -r "if (hash_file('SHA384', 'composer-setup.php') === '669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0be6190fa0355160742ab2e1c88d40d5be660b410') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \
6+
&& php composer-setup.php \
7+
php -r "unlink('composer-setup.php');" \
8+
&& cd /var/www/app && ./composer.phar install

0 commit comments

Comments
 (0)