Release Notes - Baiboly FastAPI Application v0.1.0
New Features:
-
Python & Docker Support: The Baiboly FastAPI application can now be run both as a standard Python application and as a Docker container.
-
Python: You can run the application in a virtual environment using Python. Simply follow the instructions to clone the repository, set up a virtual environment, install dependencies, and start the server.
-
Docker: The application is also dockerized, allowing you to easily run it as a container. You can build and run the application using Docker, ensuring it works consistently across environments.
-
How to Run:
-
Running with Python:
Follow the standard steps to clone the repository, set up a Python virtual environment, install dependencies, and run the application usingpython main.py
. -
Running with Docker:
- Build the Docker image:
docker build -t baiboly-fastapi .
- Run the Docker container:
docker run -p 8000:8000 baiboly-fastapi
- Build the Docker image:
Both methods are supported, and you can choose whichever is more convenient for your setup.