REBUILD WITH ./dc build -- Add full-icu to docker containers because Node doesn't include it

This commit is contained in:
Eric Schultz 2019-05-31 17:19:51 -05:00
parent b014121926
commit c0eb3f40bd
3 changed files with 5 additions and 3 deletions

View file

@ -14,5 +14,6 @@ WORKDIR /myapp
COPY Gemfile /myapp/Gemfile
COPY Gemfile.lock /myapp/Gemfile.lock
RUN bundle install
ENV NODE_ICU_DATA=/usr/lib/node_modules/icu4c-data
CMD rake -T

View file

@ -26,4 +26,5 @@ RUN chown -R $USER /usr/local/bundle
RUN chgrp -R $USER /usr/local/bundle
USER $USER
EXPOSE 5000
ENV NODE_ICU_DATA=/usr/lib/node_modules/icu4c-data
CMD foreman start

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -e
curl -sL https://deb.nodesource.com/setup_9.x | bash -
curl -sL https://deb.nodesource.com/setup_10.x | bash -
apt-get update -qq && apt-get install -y nodejs
npm install npm@^6 -g
npm install npm@^6 -g
npm install -g icu4c-data@64l