Docker Image for Frontplate CLI
The built image is available on Docker Hub (liginccojp/frontplate-cli-docker
)
Run this image using Docker on your local machine. Then it triggers npm install
and frp build -p
inside the container.
docker run \
-it --rm \
-v $(pwd):/workspace:rw \
liginccojp/frontplate-cli-docker:node8-npm4-frp4
$(pwd)
part in the volume link option -v
) to the proper path to where the source code set is located, if you are trying to perform this command outside of the workspace.
You can also control which command to run on the container instead of the default one.
docker run \
-it --rm \
-v $(pwd):/workspace:rw \
liginccojp/frontplate-cli-docker:node8-npm4-frp4 \
frp build -p -c another.frp.config.json