mirror of
				https://github.com/SystemRage/py-kms.git
				synced 2025-10-31 18:49:20 +08:00 
			
		
		
		
	Create Dockerfile
This commit is contained in:
		
							
								
								
									
										20
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										20
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| FROM ubuntu:latest | ||||
|  | ||||
| # docker build -t ubuntu1604py36 | ||||
| FROM ubuntu:16.04 | ||||
|  | ||||
| RUN apt-get update && \ | ||||
|   apt-get install -y software-properties-common vim && \ | ||||
|   add-apt-repository ppa:jonathonf/python-3.6 | ||||
| RUN apt-get update -y | ||||
|  | ||||
| RUN apt-get install -y build-essential python3.6 python3.6-dev python3-pip python3.6-venv && \ | ||||
|         apt-get install -y git | ||||
|  | ||||
| # update pip | ||||
| RUN python3.6 -m pip install pip --upgrade && \ | ||||
|         python3.6 -m pip install wheel | ||||
|  | ||||
|  | ||||
| ADD py3-kms /app | ||||
| CMD ["/usr/bin/python3.6", "/app/server.py"] | ||||
		Reference in New Issue
	
	Block a user