Skip to content

Commit 12dd0e6

Browse files
authored
refactor: changes revert in flask-mongo (#22)
* Revert "fix: docker and readme instruction" This reverts commit 1195b76. * fix: refactor flask-mongo change Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com> --------- Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com>
1 parent b613a40 commit 12dd0e6

File tree

6 files changed

+613
-134
lines changed

6 files changed

+613
-134
lines changed

fastapi-postgres/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ Keploy can be installed on Linux directly and on Windows with the help of WSL. B
3232
docker-compose up -d
3333
```
3434

35-
> Note: Update the `SQLALCHEMY_DATABASE_URL` in the `database.py` file if you want to use a keploy with docker.
36-
3735
### Capture the Testcases
3836

3937
This command will start the recording of API calls using ebpf:-

flask-mongo/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use the official Python image as the base image
2-
FROM python:3.10.12
2+
FROM python:3.9
33

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

1313
# Expose the port that the Flask app will run on
14-
EXPOSE 5000
14+
EXPOSE 6000
1515

1616
# Start the Flask application
17-
CMD ["python3", "app.py"]
17+
CMD ["python3", "app.py"]

0 commit comments

Comments
 (0)