From b673fd84e448a0697a973a9a08dce5b460721e7d Mon Sep 17 00:00:00 2001 From: Brett McHargue Date: Mon, 4 Dec 2023 15:46:01 +0000 Subject: [PATCH] Run commands separately --- Dockerfile.azure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.azure b/Dockerfile.azure index d77fe3117..05e3c9293 100644 --- a/Dockerfile.azure +++ b/Dockerfile.azure @@ -74,8 +74,8 @@ ENV GOVUK_APP_DOMAIN=www.gov.uk \ WORKDIR /app COPY . . -RUN bundle exec rake assets:precompile && \ - apk del nodejs yarn && \ +RUN bundle exec rake assets:precompile +RUN apk del nodejs yarn && \ rm -rf yarn.lock && \ rm -rf tmp/* log/* node_modules /usr/local/share/.cache /tmp/*