diff --git a/api/main.py b/api/main.py index 9ffe34b..bc883ac 100644 --- a/api/main.py +++ b/api/main.py @@ -2,7 +2,7 @@ from flask_cors import CORS app = Flask(__name__) -CORS(app, origins=["https://api.collaborative-article-sharing.upayan.dev/"]) +CORS(app, origins=["https://api.collaborative-article-sharing.upayan.dev/", "http://localhost:3000/"]) @app.route('/') def home(): diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..af567df --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,5 @@ +services: + collaborative-article-sharing: + image: ghcr.io/upayanmazumder/collaborative-article-sharing:latest + ports: + - "3000:3000"