Run your portal as a Docker image. For more information, see the Docker documentation.
Before you begin
- You have installed Docker.
- You have generated your API Portal repository.
- Download the Dockerfile provided in the Downloads tab on the left panel of this page.
- Place the file at the root of your API Portal repository.
Open a command line in the directory containing the Dockerfile and run the following command to build
docker build . --tag hugo
Run the following command to run the Docker image:
docker run --publish 8080:80 hugo
Your Docker image is running locally, you can go to
localhost:8080to see your portal.