mirror of https://github.com/SystemRage/py-kms.git
Create Dockerfile
This commit is contained in:
parent
6ad01d9a22
commit
af0c3a7799
|
@ -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"]
|
Loading…
Reference in New Issue