adding compose for launching properly everything
This commit is contained in:
		
							
								
								
									
										11
									
								
								frontend/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								frontend/Dockerfile
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,11 @@ | ||||
| # https://v2.vuejs.org/v2/cookbook/dockerize-vuejs-app | ||||
| FROM node:lts-alpine | ||||
| RUN npm install -g http-server | ||||
| WORKDIR /app/front | ||||
| COPY package*.json ./ | ||||
| RUN npm install | ||||
| COPY . . | ||||
| ENV VITE_CLYDE_MODE=container | ||||
| RUN npm run build | ||||
| EXPOSE 8080 | ||||
| CMD [ "http-server", "dist" ] | ||||
		Reference in New Issue
	
	Block a user