Skip to content
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