cleanup
This commit is contained in:
		
							
								
								
									
										9
									
								
								.dockerignore
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								.dockerignore
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
.github
 | 
			
		||||
.idea
 | 
			
		||||
vscode
 | 
			
		||||
node_modules
 | 
			
		||||
Dockerfile
 | 
			
		||||
docker-compose.yml
 | 
			
		||||
.env*
 | 
			
		||||
.dockerignore
 | 
			
		||||
.gitignore
 | 
			
		||||
@@ -4,7 +4,7 @@ ARG PORT
 | 
			
		||||
ENV PORT=$PORT
 | 
			
		||||
 | 
			
		||||
COPY . .
 | 
			
		||||
RUN npm install && npm run build
 | 
			
		||||
RUN npm install && npm run build && rm -rf src
 | 
			
		||||
 | 
			
		||||
CMD ["node", "dist/main.js"]
 | 
			
		||||
EXPOSE $PORT
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user