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/*