Skip to content

Commit

Permalink
composer update test on proper composer file
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Dec 23, 2019
1 parent 6d07183 commit 51bad81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ WORKDIR /srv/api
ARG APP_ENV=prod

# prevent the reinstallation of vendors at every changes in the source code
COPY composer.json composer.lock symfony.lock ./
COPY composer.json composer.lock symfony.lock /

RUN set -eux; \
composer install --prefer-dist --no-dev --no-scripts --no-progress --no-suggest; \
Expand All @@ -108,7 +108,7 @@ RUN set -eux; \
chmod +x bin/console; sync

# Now that we have our own composer lets update
# RUN composer update --no-interaction
RUN composer update --no-interaction

VOLUME /srv/api/var

Expand Down

0 comments on commit 51bad81

Please sign in to comment.