Merge pull request #199 from houdiniproject/add_full_icu

REBUILD WITH  ./dc build -- Add full-icu to docker containers because…
This commit is contained in:
Eric Schultz 2019-06-04 16:45:11 -05:00 committed by GitHub
commit af496da464
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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