# Building the front end service

## 1. Build the container image

To build the container image, you can use docker build. Make sure you are in the root directory of the git repo.

```
$ export DOCKER_USERNAME=your-docker-hub-username
$ docker build -t $DOCKER_USERNAME/workshop-mobile-simulator:1.0 .
```

## 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/workshop-mobile-simulator:1.0
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ibm-developer.gitbook.io/digital-developer-conference-hybrid-cloud/threat-modeling-and-identity-management/lab1/building-front-end.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
