Remove docker stuff\
This commit is contained in:
		
							parent
							
								
									deb45ea14d
								
							
						
					
					
						commit
						a1c4198a5e
					
				| 
						 | 
				
			
			@ -1,18 +0,0 @@
 | 
			
		|||
# Use an official lightweight Python image
 | 
			
		||||
FROM python:3.12-slim
 | 
			
		||||
 | 
			
		||||
# Set working directory
 | 
			
		||||
WORKDIR /app
 | 
			
		||||
 | 
			
		||||
# Install Python dependencies
 | 
			
		||||
COPY requirements.txt .
 | 
			
		||||
RUN pip install --no-cache-dir -r requirements.txt
 | 
			
		||||
 | 
			
		||||
# Copy application code
 | 
			
		||||
COPY main.py .
 | 
			
		||||
 | 
			
		||||
# Expose the port the app runs on
 | 
			
		||||
EXPOSE 5000
 | 
			
		||||
 | 
			
		||||
# Command to run the application
 | 
			
		||||
CMD ["python", "main.py", "--port", "5000"]
 | 
			
		||||
| 
						 | 
				
			
			@ -1,12 +0,0 @@
 | 
			
		|||
version: '3.8'
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  certdecoder:
 | 
			
		||||
    build:
 | 
			
		||||
      context: .
 | 
			
		||||
      dockerfile: Dockerfile
 | 
			
		||||
    ports:
 | 
			
		||||
      - "5001:5000"
 | 
			
		||||
    environment:
 | 
			
		||||
      - FLASK_ENV=production
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
		Loading…
	
		Reference in New Issue