Update the readme file
This commit is contained in:
parent
7b7d422890
commit
9dfbded5b8
22
README.md
22
README.md
|
|
@ -66,6 +66,28 @@ To build and run the application, follow these steps:
|
|||
4. Run the command `dotnet build` to build the application. This will compile the source code and prepare it for execution.
|
||||
5. After a successful build, you can start the application by running `dotnet run`.
|
||||
6. The application will start, and you can access the endpoints as specified.
|
||||
### Building a Docker Image for the MVC Version
|
||||
|
||||
### Building a Docker Image for the Minimal API Version
|
||||
|
||||
To containerize the `AS1024.GeoFeed` version using Docker, you can follow these steps to build a Docker image:
|
||||
|
||||
1. Open your terminal or command line interface.
|
||||
2. Navigate to the root directory of this repository.
|
||||
3. Execute the following Docker build command: ``docker buildx build --platform=linux/amd64,linux/arm64 -f .\AS1024.GeoFeed\Dockerfile .``
|
||||
|
||||
### Building a Docker Image for the Minimal API Version
|
||||
|
||||
To containerize the `AS1024.GeoFeed.MinimalAPI` version using Docker, you can follow these steps to build a Docker image:
|
||||
|
||||
1. Open your terminal or command line interface.
|
||||
2. Navigate to the root directory of this repository.
|
||||
3. Execute the following Docker build command: ``docker buildx build --platform=linux/amd64 -f .\AS1024.GeoFeed.MinimalAPI\Dockerfile.alpine-selfcontained .``
|
||||
|
||||
**Currently the minimal API version does not support being cross compiled for different CPU architectures. It is best built with the same CPU architecture where the build machine is targeting to.**
|
||||
|
||||
Ensure you have Docker installed and configured on your machine before executing this command. This Docker image can then be used to deploy the application in containerized environments such as Kubernetes or Docker Compose setups.
|
||||
|
||||
|
||||
## Endpoints
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue