Skip to content

Commit

Permalink
remove composer in production image
Browse files Browse the repository at this point in the history
  • Loading branch information
megahirt committed May 20, 2024
1 parent cdc85cd commit c2c7ee8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@ RUN composer install

# PRODUCTION IMAGE
FROM sillsdev/web-languageforge:base-php AS production-app
RUN rm /usr/local/bin/install-php-extensions
RUN rm /usr/local/bin/install-php-extensions /usr/local/bin/composer
RUN apt-get remove -y gnupg2 git
# TODO: remove composer - how do we do this?
RUN mv $PHP_INI_DIR/php.ini-production $PHP_INI_DIR/php.ini
# had to add /wait into prod image so the prod image could be run through E2E tests.
COPY --from=sillsdev/web-languageforge:wait-latest /wait /wait
Expand Down

0 comments on commit c2c7ee8

Please sign in to comment.