Added yarn and nodejs
This commit is contained in:
		
							parent
							
								
									9cbcc774c9
								
							
						
					
					
						commit
						f21157824e
					
				
							
								
								
									
										11
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								Dockerfile
									
									
									
									
									
								
							@ -1,8 +1,13 @@
 | 
			
		||||
FROM ruby:2.7.2
 | 
			
		||||
 | 
			
		||||
RUN apt-get update && apt-get install -y
 | 
			
		||||
RUN apt-get install -y nodejs sqlite3
 | 
			
		||||
RUN apt-get install npm -y
 | 
			
		||||
RUN apt-get update && apt-get install -y \
 | 
			
		||||
  curl \
 | 
			
		||||
  build-essential \
 | 
			
		||||
  curl -sL https://deb.nodesource.com/setup_12.x | bash - && \
 | 
			
		||||
  curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
 | 
			
		||||
  echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
 | 
			
		||||
  apt-get update && apt-get install -y nodejs yarn sqlite3 cron
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
WORKDIR /code
 | 
			
		||||
COPY . /code
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user