Skip to content

NodeJS image with Yarn and setup for running an application.

Notifications You must be signed in to change notification settings

jak/node-yarn-app-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node with Yarn Docker

These images are based on the official node image and have yarn installed and have a non-root user called app (/home/app) set up.

Your package.json and yarn.lock files will be copied across and installed, and then your code will be copied across to the WORKDIR.

You can get your node webapp running easily with a Dockerfile like:

FROM jsixc/node-yarn-app:4

EXPOSE 8080

or just a docker-compose.yml file

myapp:
    image: jsixc/node-yarn-app:4
    ports:
        - "8000"

About

NodeJS image with Yarn and setup for running an application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published