hotfix/backendcontainer #36

Merged
cami merged 2 commits from hotfix/backendcontainer into main 2021-06-22 00:27:08 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 001db06659 - Show all commits

View file

@ -27,7 +27,7 @@ db = flask_sqlalchemy.SQLAlchemy()
guard = flask_praetorian.Praetorian()
cors = flask_cors.CORS()
class User(db.model):
class User(db.Model):
id = db.Column(db.Integer, primary_key=True)
username = db.Column(db.Text, unique=True)
password = db.Column(db.Text)

View file

@ -20,7 +20,7 @@ services:
dockerfile: Dockerfile
tty: true
volumes:
- ./backend:/app
- ./backend/src:/app/
ports:
- 5000:5000
environment: