This commit is contained in:
José Henrique 2020-01-29 17:22:54 -03:00 committed by GitHub
commit c373f74bca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
.git/
Dockerfile

17
Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM ubuntu:latest
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install python2.7 -y
RUN apt-get install python-pip -y
RUN apt-get install python3 -y
RUN apt-get install python3-pip -y
RUN python2
RUN python3
WORKDIR /calculator
COPY * ./
RUN pip install .
ENTRYPOINT ["python", "my_first_calculator.py"]