diff --git a/app.py b/app.py index 733556f..4453565 100644 --- a/app.py +++ b/app.py @@ -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) diff --git a/entrypoint.sh b/entrypoint.sh old mode 100644 new mode 100755 index ff3d024..d3d3293 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,7 +3,7 @@ BASE=$(dirname $0) cd $BASE git pull -if [ -d env ]; +if [ ! -d env ]; then python3 -m venv env fi