mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-11-03 20:05:13 +03:00 
			
		
		
		
	* Use NodeJS base for Dockerfile * Update .dockerignore for NodeJS files * Make git available in Docker container So that the container is more usable for development.
		
			
				
	
	
		
			13 lines
		
	
	
		
			190 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			190 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM node:12-alpine
 | 
						|
 | 
						|
RUN apk add --no-cache \
 | 
						|
  git
 | 
						|
 | 
						|
WORKDIR /simple-icons
 | 
						|
COPY package*.json /simple-icons/
 | 
						|
RUN npm install
 | 
						|
 | 
						|
COPY . .
 | 
						|
 | 
						|
ENTRYPOINT ["npm", "run", "svgo", "--", "/image.svg"]
 |