Public | Automated Build

Last pushed: 9 months ago
Short Description
Full Description

nodeJS, glup


  • using Your local SSH key
  • node works as Your local user (thanks to "UID mapping")

UID mapping

Docker's node works as "nodejs" user. After mapping Your local directory with project into docker's /opt, entrypoint load UID of /opt and replace UID of "nodejs" user to new value. The result is working as Your local user (no "permission denied" errors)


  • Create alias in Your project

    glup: docker run --rm -it \
      -v ~/.ssh/:/home/nodejs/.ssh \
      -v $(pwd)/:/opt \
      amsdard/glup npm run gulp $CMD
  • set up /home/nodejs/.ssh docker's location to use Your local SSH keys

  • set up /opt docker's location as main project directory (with composer.json)
Docker Pull Command
Source Repository

Comments (0)