a
This commit is contained in:
parent
cd887a17a5
commit
289606db87
@ -1,5 +1,10 @@
|
|||||||
FROM python:3.12
|
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
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
CMD ["python", "app.py"]
|
CMD ["python", "app.py"]
|
||||||
2
app.py
2
app.py
@ -8,4 +8,4 @@ client = stravalib.client.Client()
|
|||||||
def index():
|
def index():
|
||||||
return flask.render_template('index.html')
|
return flask.render_template('index.html')
|
||||||
|
|
||||||
app.run(host='0.0.0.0')
|
app.run(host='0.0.0.0',debug=True)
|
||||||
@ -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>© 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>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user