Skip to main content Skip to complementary content
Close announcements banner

Deploying your portal with Docker

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.

Procedure

  1. Download and extract the Dockerfile.zip file.
  2. Place the file at the root of your API Portal repository.
  3. Open a command line in the directory containing the Dockerfile and run the following command to build your image:
    docker build . --tag hugo
  4. Run the following command to run the Docker image:
    docker run --publish 8080:80 hugo

Results

Your Docker image is running locally, you can go to localhost:8080 to see your portal.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!