You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Example Application](https://github.com/Dwolla/dwolla-v2-csharp/tree/master/ExampleApp) for
142
+
[Example Application](https://github.com/Dwolla/dwolla-v2-csharp/tree/main/ExampleApp) for
142
143
examples on how to use the available C# models to call the Dwolla API. Before you can begin using the app, however, you will need to specify a `DWOLLA_APP_KEY` and
143
144
`DWOLLA_APP_SECRET` environment variable.
144
145
146
+
#### Docker
147
+
148
+
If you prefer to use Docker to run ExampleApp locally, a Dockerfile file is included in the root directory. You can either build the Docker image with your API key and secret (by passing the values via CLI), or you can specify the values for the `app_key` and `app_secret` build arguments in Dockerfile. Finally, you will need to build and run the Docker image. More information on this topic can be found on [Docker's website](https://docs.docker.com/build/hellobuild/), or you can find some example commands below.
149
+
150
+
##### Building Docker Container
151
+
152
+
```shell
153
+
# Building container by specifying build arguments.
154
+
# In this configuration, you will not need to modify Dockerfile. All of the
155
+
# necessary arguments are passed via Docker's `--build-arg` option.
156
+
$ docker build \
157
+
--build-arg app_key=YOUR_API_KEY \
158
+
--build-arg app_secret=YOUR_APP_SECRET \
159
+
-t dwolla/csharp-example-app:latest .
160
+
161
+
# Building container without specifying build arguments.
162
+
# In this configuration, you will need to specify your account API key and
163
+
# secret (retrieved from Dwolla) in the Dockerfile file.
0 commit comments