Guest User

Untitled

a guest
Dec 13th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. dockerfile = """
  2. FROM python:{py_version}
  3. MAINTAINER {maintainer}
  4. WORKDIR /app
  5. RUN pip install {requirements}
  6. ENV PY_LIB "{app_content | encode_base64}"
  7. RUN python -c "import os,base64;b=os.getenv('PY_LIB');b=base64.b64decode(b);print(b.decode('utf-8'))" | tee app.py
  8. CMD python app.py
  9. """
Add Comment
Please, Sign In to add comment