mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 08:13:43 +08:00 
			
		
		
		
	feat: add Dockerfile for docker deployment support
This commit is contained in:
		
							
								
								
									
										14
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
FROM node:18
 | 
			
		||||
 | 
			
		||||
WORKDIR /app
 | 
			
		||||
 | 
			
		||||
ENV OPENAI_API_KEY=""
 | 
			
		||||
ENV CODE=""
 | 
			
		||||
 | 
			
		||||
COPY . ./
 | 
			
		||||
 | 
			
		||||
RUN yarn && yarn build
 | 
			
		||||
 | 
			
		||||
EXPOSE 3000
 | 
			
		||||
 | 
			
		||||
CMD ["yarn","start"]
 | 
			
		||||
		Reference in New Issue
	
	Block a user