Backend container works with autoreloading.. :-)
This commit is contained in:
parent
02fc2bb4ef
commit
001db06659
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -20,7 +20,7 @@ services:
|
|||
dockerfile: Dockerfile
|
||||
tty: true
|
||||
volumes:
|
||||
- ./backend:/app
|
||||
- ./backend/src:/app/
|
||||
ports:
|
||||
- 5000:5000
|
||||
environment:
|
||||
|
|
Loading…
Reference in a new issue