This commit is contained in:
Ian Burgess 2025-04-08 21:55:58 -06:00
parent cd887a17a5
commit 289606db87
4 changed files with 29 additions and 4 deletions

View File

@ -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"]

0
a
View File

2
app.py
View File

@ -8,4 +8,4 @@ client = stravalib.client.Client()
def index():
return flask.render_template('index.html')
app.run(host='0.0.0.0')
app.run(host='0.0.0.0',debug=True)

View File

@ -1 +1,21 @@
hi a
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Turfrun</title>
</head>
<body>
<header>
<h1>Welcome to My Site</h1>
<nav>
</nav>
</header>
<main>
</main>
<footer>
<p>&copy; 2025 Ian Burgess. Licensed under the <a href="https://www.gnu.org/licenses/agpl-3.0.html" target="_blank" rel="license noopener noreferrer">GNU Affero General Public License</a>, <a href="https://source.ionburger.me/turfrun" target="_blank" rel="noopener noreferrer">View Source</a>.</p>
</footer>
</body>
</html>