Skip to content

Commit

Permalink
Debump Flask again
Browse files Browse the repository at this point in the history
  • Loading branch information
aa9863 committed Sep 26, 2023
1 parent 647eaf2 commit 8aa6637
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Scanning/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#FROM cueh/flask
FROM python:3-slim

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 Scanning/REQUIREMENTS.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
flask < 2.0
#flask < 2.1
flask-sqlalchemy
jinja-markdown
flask-httpauth
Expand Down
5 changes: 3 additions & 2 deletions Scanning/app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ class User(db.Model):
email = db.Column(db.Text)
password = db.Column(db.Text)
level = db.Column(db.Text, default="user")

db.create_all()

with meta.app.app_context():
db.create_all()

0 comments on commit 8aa6637

Please sign in to comment.