This commit is contained in:
arne 2023-08-22 19:20:26 +02:00
parent 5496146053
commit c048415428
2 changed files with 1 additions and 5 deletions

4
app.py
View File

@ -1,10 +1,6 @@
from flask import Flask, render_template, url_for, request, redirect, Response, abort, session
from flask_sqlalchemy import SQLAlchemy
from werkzeug.middleware.proxy_fix import ProxyFix
from datetime import datetime
import magic
import random
import string
app = Flask(__name__)
app.wsgi_app = ProxyFix(app.wsgi_app, x_proto=1, x_host=1)

2
entrypoint.sh Normal file → Executable file
View File

@ -3,7 +3,7 @@
BASE=$(dirname $0)
cd $BASE
git pull
if [ -d env ];
if [ ! -d env ];
then
python3 -m venv env
fi