Created
March 18, 2020 13:13
-
-
Save david-botelho-mariano/06626d60160ed93194e4b1425e1a364c to your computer and use it in GitHub Desktop.
Dockerfile para inserir o python no docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:2.7 | |
#define o python que será utilizado | |
COPY ./ /usr/src/app | |
WORKDIR /usr/src/app | |
RUN pip install flask | |
#instala o flask | |
RUN pip install elastic-apm[flask] | |
#instalar o apm agent | |
CMD ["python", "simples.py"] | |
#inicia o servidor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment