Skip to content
Snippets Groups Projects
Commit 95237ee8 authored by mowoe's avatar mowoe
Browse files

added dockerfile and right port binding

parent 927f101e
No related branches found
No related tags found
No related merge requests found
FROM python:3.6
RUN pip install Flask
RUN pip install peewee
WORKDIR /app
RUN git clone https://gitlab.warpzone.ms/mowoe/chaos_familien_duell_frontend.git /app
RUN ls
CMD ["python", "main.py"]
...@@ -4,4 +4,4 @@ from view.questions import questions ...@@ -4,4 +4,4 @@ from view.questions import questions
app = Flask(__name__) app = Flask(__name__)
app.config['SECRET_KEY'] = 'blubb' app.config['SECRET_KEY'] = 'blubb'
app.register_blueprint(questions) app.register_blueprint(questions)
app.run(debug=True) app.run("0.0.0.0",debug=True)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment