Create Dockerfile

This commit is contained in:
zenjabba 2019-03-26 09:26:41 -04:00 committed by GitHub
parent 6ad01d9a22
commit af0c3a7799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
Dockerfile Normal file
View 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"]