Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dockerfile = """
- FROM python:{py_version}
- MAINTAINER {maintainer}
- WORKDIR /app
- RUN pip install {requirements}
- ENV PY_LIB "{app_content | encode_base64}"
- RUN python -c "import os,base64;b=os.getenv('PY_LIB');b=base64.b64decode(b);print(b.decode('utf-8'))" | tee app.py
- CMD python app.py
- """
Add Comment
Please, Sign In to add comment