added docker shit
Some checks failed
release-tag / release-image (push) Failing after 36s

This commit is contained in:
2026-05-26 09:31:48 +02:00
parent 014ae73f6d
commit 17134a7859
4 changed files with 64 additions and 2 deletions

4
app.py
View File

@@ -9,7 +9,7 @@ from flask import Flask, render_template_string, redirect, url_for
import sqlite3
app = Flask(__name__)
DB_FILE = 'counter.db'
DB_FILE = '/db/counter.db'
def init_db():
"""Initialize the database and set the starting number to 0 if it doesn't exist."""
@@ -98,4 +98,4 @@ if __name__ == '__main__':
# Initialize the database before starting the server
init_db()
# Run the app in debug mode
app.run(debug=True)
app.run(debug=True)