Contenerisation
This commit is contained in:
		
							
								
								
									
										12
									
								
								backend/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								backend/Dockerfile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| FROM node:20-alpine | ||||
|  | ||||
| WORKDIR /app | ||||
|  | ||||
| COPY package*.json ./ | ||||
| RUN npm install --production | ||||
|  | ||||
| COPY . . | ||||
|  | ||||
| EXPOSE 3000 | ||||
|  | ||||
| CMD ["node", "server.js"] | ||||
		Reference in New Issue
	
	Block a user
	 ElPoyo
					ElPoyo