Public | Automated Build

Last pushed: 17 days ago
Short Description
node docker images
Full Description

node-docker

How to use this image

Create a Dockerfile

FROM jameskyburz/node:8.0.0-alpine
EXPOSE 5000

Tell npm how to run your project in package.json

"scripts": {
  "start": "node index"
}

Create a docker-compose.yml file

version: '3'
services:
  web:
    build:
      context: ./src/yourapp
    restart: always

Build

ᐅ docker-compose build

Run the container

ᐅ docker-compose up

Debugging with docker-compose

Checkout debug.sh

Docker Pull Command
Owner
jameskyburz
Source Repository