diff --git a/Dockerfile b/Dockerfile index 7d6b785..b90b24e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,10 @@ FROM python:3.12 -RUN git clone https://source.ionburger.me/ionburger/turfrun.git -WORKDIR /turfrun + +WORKDIR /app + +COPY requirements.txt . RUN pip install -r requirements.txt + +COPY . . + CMD ["python", "app.py"] \ No newline at end of file diff --git a/a b/a deleted file mode 100644 index e69de29..0000000 diff --git a/app.py b/app.py index fae4e42..6c6a78b 100644 --- a/app.py +++ b/app.py @@ -8,4 +8,4 @@ client = stravalib.client.Client() def index(): return flask.render_template('index.html') -app.run(host='0.0.0.0') \ No newline at end of file +app.run(host='0.0.0.0',debug=True) \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 1d3092d..8373d20 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1 +1,21 @@ -hi a \ No newline at end of file + + + + + Turfrun + + +
+

Welcome to My Site

+ +
+ +
+
+ + + +