📂 Guides > Docker

# Deployer image instructions

Table of Contents
  1. Build the Docker image

    docker build . -t api3/airnode-deployer:pre-alpha
    
    1
  2. Ensure that your .env file looks like .env.example (opens new window) and is the current working directory.

  3. If you will be running deploy-first-time or redeploy, your config.json and security.json must be in the current working directory. (They are also needed for other commands temporarily.)

  4. Run the image with one of the following commands:

# deploy-first-time

# redeploy

# deploy-mnemonic

Note that you must replace $MNEMONIC and $REGION with your values Enclose your mnemonic in quotation marks because it includes white spaces.

# remove-with-receipt

Note that you must replace $RECEIPT_FILENAME with your value and $RECEIPT_FILENAME must be in the current working directory.

# remove-mnemonic

Note that you must replace $PROVIDER_ID_SHORT and $REGION with your values.

# remove-airnode

Note that you must replace $PROVIDER_ID_SHORT, $REGION and $STAGE with your values.

Last Updated: 8/9/2022, 2:28:25 PM