- 3.5.2-r2, latest (stable/Dockerfile)
- edge-3.6.0-r0 (edge/Dockerfile)
Deploy python3 application with Docker.
FROM mmorita44:arm-python3
RUN pip3 install Flask
RUN echo -e 'from flask import Flask\napp = Flask(__name__)\n\[email protected]("/")\ndef hello():\n return "Hello World!"\n\nif __name__ == "__main__":\n app.run()\n' > hello.py
EXPOSE 80
CMD ["python3", "hello.py"]