Skip to content

toancong/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base image for api

Use toancong/api:node-4 based from strongloop/strong-pm:node-4 for stable, without tag mean node:latest depends on strong-pm image.

Usage

Docker compose example

docker-compose.yml

version: "2"
services:
  api:
    image: toancong/api:node-4
    volumes:
      - .:/usr/app
    ports:
      - "3000:3000"
    environment:
      - ENV=dev
    entrypoint: |
      bash -c 'bash -s <<EOF

      sl-pm --base /usr/app --listen 3000
      EOF'

About

Base image for api using strongloop

Resources

License

Stars

Watchers

Forks

Packages

No packages published