📂 Guides > Docker
Client image instructions
Build the Docker image (you can skip this step and fetch the pre-built image).
mv Dockerfile Dockerfile-deployer && \
mv Dockerfile-client Dockerfile && \
docker build . -t api3/airnode-client:0.1.0 && \
mv Dockerfile Dockerfile-client && \
mv Dockerfile-deployer Dockerfile
1
2
3
4
5
mv Dockerfile Dockerfile-deployer && ^
mv Dockerfile-client Dockerfile && ^
docker build . -t api3/airnode-client:0.1.0 && ^
mv Dockerfile Dockerfile-client && ^
mv Dockerfile-deployer Dockerfile
1
2
3
4
5
Ensure that your .env
file looks like .env.example (opens new window) and is the current working directory.
Also ensure that config.json (opens new window) is also in the current working directory. Note that nodeSettings.cloudProvider
should be local
.
The following command runs an airnode client that is invoked every minute.
docker run -it --rm \
--env-file .env \
-v "$(pwd):/airnode/out" \
api3/airnode-client:pre-alpha
1
2
3
4
docker run -it --rm ^
--env-file .env ^
-v "%cd%:/airnode/out" ^
api3/airnode-client:pre-alpha
1
2
3
4