updated loan and repayment endpoint

This commit was merged in pull request #19.
This commit is contained in:
Chinenye Nmoh
2025-07-05 20:49:57 +01:00
parent 6bed4d2dfa
commit 2d6ff1adc2
8 changed files with 117 additions and 9 deletions
+6 -3
View File
@@ -18,7 +18,10 @@ ENV FLASK_APP=app.py
ENV FLASK_RUN_HOST=0.0.0.0
#COPY scripts/enterypointone.sh scripts/enterypointone.sh
#RUN chmod +x scripts/entry.sh
#ENTRYPOINT ["scripts/entry.sh"]
RUN chmod +x scripts/entry.sh
ENTRYPOINT ["scripts/entry.sh"]
# Run the application
CMD [ "sh", "-c", \
"echo 'Starting Gunicorn server...' && \
exec gunicorn -w 4 -b 0.0.0.0:5000 wsgi:wsgi_app"]