> For the complete documentation index, see [llms.txt](https://ibm-developer.gitbook.io/digital-developer-conference-hybrid-cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ibm-developer.gitbook.io/digital-developer-conference-hybrid-cloud/serverless-workshop/lab/building-the-example-serverless-application.md).

# Building the example serverless application

## 1. Build the container image

To build the container image, you can use docker build

```
$ export DOCKER_USERNAME=your-docker-hub-username
$ docker build -t $DOCKER_USERNAME/serverless-workshop-example:1.0 bank-knative-service
```

## 2. Push the container image

In this lab, you can use a Docker Hub to push your container image. Make sure you are also logged in your Docker Hub account when you push the image.

```
$ docker login
$ docker push $DOCKER_USERNAME/serverless-workshop-example:1.0
```
