Skip to content

Instantly share code, notes, and snippets.

@ara-ta3
Created November 14, 2017 08:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ara-ta3/3575ba13e3785143d014d9898462a751 to your computer and use it in GitHub Desktop.
Save ara-ta3/3575ba13e3785143d014d9898462a751 to your computer and use it in GitHub Desktop.
FROM php:fpm
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN apt-get install -y nodejs
tag=npm-run-error
docker/run: docker/build
docker run -ti -v $(PWD):/docker -t $(tag) bash
docker/build:
docker build . -t $(tag)
{
"name": "npm",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"webpack": "webpack -v"
},
"author": "",
"license": "ISC",
"dependencies": {
"webpack": "^3.8.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment