chore: update docker layout
Dockerfiles in root gezet zodat ze ook aan bestanden daarin kunnen
This commit is contained in:
		
							parent
							
								
									71f6b1b3cb
								
							
						
					
					
						commit
						0995cba88c
					
				
					 5 changed files with 8 additions and 13 deletions
				
			
		
							
								
								
									
										13
									
								
								frontend.Dockerfile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								frontend.Dockerfile
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,13 @@ | |||
| # build stage | ||||
| FROM node:22 as build-stage | ||||
| WORKDIR /app | ||||
| COPY ./frontend/package*.json ./ | ||||
| RUN npm install | ||||
| COPY ./frontend . | ||||
| RUN npm run build | ||||
| 
 | ||||
| # production stage | ||||
| FROM nginx:stable as production-stage | ||||
| COPY --from=build-stage /app/dist /usr/share/nginx/html | ||||
| EXPOSE 80 | ||||
| CMD ["nginx", "-g", "daemon off;"] | ||||
		Reference in a new issue
	
	 Timo De Meyst
						Timo De Meyst