Now, let's configure Zeit Now to work on your repository:
- Install Zeit Now by executing npm i -g now
- Ensure correct installation by executing now -v
- Create a new folder under local-weather-app called now
- Create a new Dockerfile under the new now folder
- Implement the file to pull from the image you just published:
now/Dockerfile
FROM duluca/localcast-weather:6.0.1
- Finally, execute the now command in your terminal and follow the instructions to the finish configuration:
$ now
> No existing credentials found. Please log in:
> We sent an email to [email protected]. Please follow the steps provided
inside it and make sure the security code matches XXX XXXXX.
√ Email confirmed
√ Fetched your personal details
> Ready! Authentication token and personal details saved in "~.now"