Adrien-Ba
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
9 additions and
0 deletions
-
1_dockerfile/python/Dockerfile
|
|
@ -0,0 +1,9 @@ |
|
|
|
|
|
FROM python:2.7 |
|
|
|
|
|
|
|
|
|
|
|
COPY requirements.txt /usr/app/requirements.txt |
|
|
|
|
|
COPY app.py /usr/app/app.py |
|
|
|
|
|
|
|
|
|
|
|
RUN pip install -r /usr/app/requirements.txt |
|
|
|
|
|
|
|
|
|
|
|
EXPOSE 5000 |
|
|
|
|
|
ENTRYPOINT ["python", "/usr/app/app.py"] |