Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Flask+MongoDB app with Unit tests, Postman testcases, Keploy tests and test coverage report #19

Merged
merged 5 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added flask-mongo/.coverage
Binary file not shown.
4 changes: 4 additions & 0 deletions flask-mongo/.coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[run]
omit =
/usr/*
sigterm = true
4 changes: 2 additions & 2 deletions flask-mongo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use the official Python image as the base image
FROM python:3.9
FROM python:3.10.12

# Set the working directory within the container
WORKDIR /app
Expand All @@ -11,7 +11,7 @@ COPY . .
RUN pip3 install -r requirements.txt

# Expose the port that the Flask app will run on
EXPOSE 6000
EXPOSE 5000

# Start the Flask application
CMD ["python3", "app.py"]
Loading