Commit bbaa4715 by zhengtianbao

Init commit

parents
FROM python:latest
ENV FLASK_APP=test.py
WORKDIR /testweb
COPY . /testweb
EXPOSE 5000
CMD ['flask', 'run']
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
return 'Hello, World!'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment