Skip to content

liginc/frontplate-cli-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

frontplate-cli-docker

Docker Image for Frontplate CLI

The built image is available on Docker Hub (liginccojp/frontplate-cli-docker)

Usage

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

⚠️ Note that you may need to change the local workspace path ($(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.

Advanced: Running custom command

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