Skip to content

Commit

Permalink
deployment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhongxuanWang committed Nov 30, 2023
1 parent 57b752e commit 7c7e59b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ RUN set -xe && \
apt-get install python3-pip -y && \
pip install -r requirements.txt

CMD ./start_server.sh
CMD bash ./start_server.sh
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
build:
context: ./
dockerfile: Dockerfile
image: cu_raise_backend
image: curaisebackend
ports:
- "8888:80"

6 changes: 6 additions & 0 deletions src/main/routes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
from src.main import bp
from src.utils import success_message


@bp.route('/', methods=['GET'])
def index():
return success_message('CURaise Backend. Please go to https://github.com/CURaise/CURaise-backend for more guidance')


@bp.route('/signup/', methods=['POST'])
Expand Down

0 comments on commit 7c7e59b

Please sign in to comment.