Commit 7fc72e69 authored by skysky's avatar skysky

Add dockerfile

parent 98266690
Pipeline #4522 passed with stage
......@@ -3,7 +3,7 @@ kind: pipeline
type: docker
name: default
steps:
- name: build
- name: build-and-test
image: python
commands:
- echo "Starting build now..."
......
FROM python
WORKDIR /app
ADD . /app
RUN pip install -r requirements.txt
CMD python app.py
\ No newline at end of file
from app_web import app
if __name__ =='__main__':
app.run()
\ No newline at end of file
app.run(host="0.0.0.0")
\ No newline at end of file
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