# Deploying your portal with Docker

Run your portal as a Docker image. For more information, see the [Docker documentation](https://docs.docker.com/).

## Before you begin

* You have installed Docker.
* You have generated your API Portal repository.

## Procedure

1. Download and extract the [](https://help.qlik.com/talend/en-US/api-portal-deployment-guide/Cloud/Content/Resources/attachments/Dockerfile.zip)[Dockerfile.zip](https://help.qlik.com/talend/en-US/api-portal-deployment-guide/Cloud/Content/Resources/attachments/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.