This commit is contained in:
Ian Burgess 2025-04-08 21:26:33 -06:00
parent acde162af1
commit 55e9e34866
4 changed files with 20 additions and 0 deletions

6
Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM python:3.12
WORKDIR /app
RUN git clone https://source.ionburger.me/ionburger/turfrun.git
WORKDIR /app/turfrun
RUN pip install -r requirements.txt
CMD ["python", "app.py"]

11
app.py Normal file
View File

@ -0,0 +1,11 @@
import flask
import stravalib
app = flask.Flask(__name__)
client = stravalib.client.Client()
@app.route('/')
def index():
return flask.render_template('index.html')
app.run(host='0.0.0.0')

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
flask
stravalib

1
templates/index.html Normal file
View File

@ -0,0 +1 @@
hi