Skip to content

Commit

Permalink
This better be a single command-line thing
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Dec 23, 2019
1 parent 3d706bf commit af69396
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ WORKDIR /srv/api
ARG APP_ENV=prod

# prevent the reinstallation of vendors at every changes in the source code
COPY composer.json /srv/api/composer.json
COPY composer.lock /srv/api/composer.lock
COPY symfony.lock /srv/api/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 Down

0 comments on commit af69396

Please sign in to comment.