Skip to content

yearend/netlify-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

docker netlify-cli

A Docker image for netlify/cli. Also includes jq, curl, python, git, and build tools.

docker image pull yearendtax/netlify-cli

Usage

In your Netlify user settings, create a personal access token. Set the environment variable NETLIFY_AUTH_TOKEN inside the container.

The default working directory in the container is /project, so mount your project directory into the container at that location.

Specify the Netlify CLI command after the image name.

docker container run -it \
    -e NETLIFY_AUTH_TOKEN=<personal_access_token> \
    -v /path/to/project:/project \
    yearendtax/netlify-cli \
    deploy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published