Browse Source

Update Dockerfile

main
Adrien-Ba 5 years ago
committed by GitHub
parent
commit
b6a06ce543
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      1_dockerfile/python/Dockerfile

9
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"]
Loading…
Cancel
Save