Fix compatibility issues of SASSC in production Docker images

This commit is contained in:
Oleksii Kriuchykhin 2019-12-23 17:24:56 +01:00
parent 882ec711fe
commit c79b25d5d2

View file

@ -30,6 +30,7 @@ RUN apt-get update -qq && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
ENV RAILS_ENV production ENV RAILS_ENV production
ENV BUNDLE_BUILD__SASSC=--disable-march-tune-native
# install gems # install gems
COPY Gemfile* /usr/src/bundle/ COPY Gemfile* /usr/src/bundle/