REBUILD WITH ./dc build -- Add full-icu to docker containers because Node doesn't include it
This commit is contained in:
		
							parent
							
								
									b014121926
								
							
						
					
					
						commit
						c0eb3f40bd
					
				
					 3 changed files with 5 additions and 3 deletions
				
			
		|  | @ -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 | ||||
| 
 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Eric Schultz
						Eric Schultz