mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-11-04 12:54:23 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			322 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			322 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM node:14-alpine AS build
 | 
						|
 | 
						|
WORKDIR /opt/node_app
 | 
						|
 | 
						|
COPY package.json yarn.lock ./
 | 
						|
RUN yarn --ignore-optional
 | 
						|
 | 
						|
ARG NODE_ENV=production
 | 
						|
 | 
						|
COPY . .
 | 
						|
RUN yarn build:app:docker
 | 
						|
 | 
						|
FROM nginx:1.17-alpine
 | 
						|
 | 
						|
COPY --from=build /opt/node_app/build /usr/share/nginx/html
 | 
						|
 | 
						|
HEALTHCHECK CMD wget -q -O /dev/null http://localhost || exit 1
 |