Skip to content

Commit

Permalink
Revert me - adding Env to dockerifle
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Ainsworth committed Oct 23, 2023
1 parent 1dad5c3 commit cb07a7f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions service-front/docker/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ COPY --from=dependency /app/vendor /app/vendor
FROM app as development
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/
COPY --from=composer /usr/bin/composer /usr/bin/

COPY service-front/docker/app/app-php-development.ini /usr/local/etc/php/conf.d/app-php.ini

RUN set -xe \
Expand All @@ -52,7 +51,7 @@ RUN set -xe \

# Development images are only ever run using compose so will have this mounted in as a volume
RUN rm -rf /app/vendor

ENV ALLOW_GOV_ONE_LOGIN="true"
CMD ([[ -z "${ENABLE_XDEBUG}" ]] || docker-php-ext-enable xdebug) \
&& php-fpm

Expand Down

0 comments on commit cb07a7f

Please sign in to comment.