mirror of
				https://github.com/tobspr/shapez.io.git
				synced 2025-06-13 13:04:03 +00:00 
			
		
		
		
	Dockerfile use for Node12 (#727)
* Create Dockerfile * Update Dockerfile git is already installed in the node:12 image * Remove git-lfs curl pull for node12 image * Remove the rest of the lfs references
This commit is contained in:
		
							parent
							
								
									9217ee252d
								
							
						
					
					
						commit
						746154c428
					
				
							
								
								
									
										30
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,30 @@
 | 
			
		||||
FROM node:12 as base
 | 
			
		||||
 | 
			
		||||
WORKDIR /shapez.io
 | 
			
		||||
 | 
			
		||||
COPY . .
 | 
			
		||||
 | 
			
		||||
EXPOSE 3005
 | 
			
		||||
EXPOSE 3001
 | 
			
		||||
 | 
			
		||||
RUN apt-get update \
 | 
			
		||||
    && apt-get update \
 | 
			
		||||
    && apt-get upgrade -y \
 | 
			
		||||
    && apt-get dist-upgrade -y \
 | 
			
		||||
    && apt-get install -y --no-install-recommends \
 | 
			
		||||
    ffmpeg \
 | 
			
		||||
    && rm -rf /var/lib/apt/lists/* 
 | 
			
		||||
 | 
			
		||||
FROM base as shape_base
 | 
			
		||||
 | 
			
		||||
WORKDIR /shapez.io
 | 
			
		||||
 | 
			
		||||
RUN yarn
 | 
			
		||||
 | 
			
		||||
WORKDIR /shapez.io/gulp
 | 
			
		||||
 | 
			
		||||
RUN yarn
 | 
			
		||||
 | 
			
		||||
WORKDIR /shapez.io/gulp
 | 
			
		||||
 | 
			
		||||
ENTRYPOINT ["yarn", "gulp"]
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user