Docker: Fix an issue were native dependencies werent able to build
This commit is contained in:
		
							parent
							
								
									6f827ee9cd
								
							
						
					
					
						commit
						a78102b6cf
					
				| @ -2,7 +2,12 @@ FROM node:lts-alpine | ||||
| RUN mkdir -p /usr/src/fosscord-gateway | ||||
| WORKDIR /usr/src/fosscord-gateway | ||||
| COPY package.json /usr/src/fosscord-gateway | ||||
| RUN apk add --no-cache --virtual build-dependencies add \ | ||||
|     python \ | ||||
|     make \ | ||||
|     g++ | ||||
| RUN npm install | ||||
| RUN apk del build-dependencies | ||||
| COPY . /usr/src/fosscord-gateway | ||||
| EXPOSE 3002 | ||||
| CMD ["npm", "start"] | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Diego Magdaleno
						Diego Magdaleno