Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix flask version bump issues
  • Loading branch information
aa9863 committed Oct 3, 2023
1 parent 8aa6637 commit f63ebcd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Dirbusting/Dockerfile
@@ -1,6 +1,6 @@
#FROM cueh/flask
FROM python:3-slim

#USER root
RUN apt-get update && apt-get install -y --no-install-recommends ncat

#Install the Selenium Driver
Expand All @@ -12,4 +12,4 @@ RUN pip install -r /tmp/REQUIREMENTS.txt
WORKDIR /opt
ADD ./app /opt/app

CMD ["flask", "run", "--host=0.0.0.0"]
CMD ["flask", "run", "--host=0.0.0.0"]
2 changes: 1 addition & 1 deletion Dirbusting/REQUIREMENTS.txt
@@ -1,5 +1,5 @@
flask
flask-sqlalchemy==2.5.1
flask-sqlalchemy
jinja-markdown
flask-httpauth

5 changes: 0 additions & 5 deletions Dirbusting/app/meta.py
Expand Up @@ -18,8 +18,3 @@

auth = flask_httpauth.HTTPBasicAuth()
bauth = flask_httpauth.HTTPTokenAuth()





3 changes: 2 additions & 1 deletion Dirbusting/app/models.py
Expand Up @@ -3,7 +3,8 @@
import app.meta as meta
from .meta import app as application

db = SQLAlchemy(meta.app)

db = SQLAlchemy(application)

class Item(db.Model):
id = db.Column(db.Integer, primary_key=True)
Expand Down

0 comments on commit f63ebcd

Please sign in to comment.