Public | Automated Build

Last pushed: 4 months ago
Short Description
A Docker image for compiling frontend assets
Full Description

driebit/node

A Docker image for compiling frontend assets.

Usage

Add some scripts to your project’s package.json:

{
    "name": "your-project",
    "scripts": {
        "start": "webpack --config config/webpack.dev.js --watch --progress --profile --bail",
        "build": "webpack --config config/webpack.prod.js --progress --profile --bail"
    },     
}

Then run this container. Make sure to mount your project directory into /app,
which will run npm install and npm run:

docker run -it -v `pwd`:/app driebit/node 

npm info it worked if it ends with ok
...
Docker Pull Command
Owner
driebit
Source Repository