Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 760 Bytes

File metadata and controls

31 lines (22 loc) · 760 Bytes

Javascript Docker Container

This project is a defines a docker container that can be used to complete javascript exercises from Exercism or to contribute to the javascript tract of Exercism.

This container includes:

  • ubuntu base container
  • node 8.x
  • jest
  • eslint

Prerequisites

You must have Docker installed on your computer. Get it at Docker

Installing

Create your container

docker build -t js-image -f  javascript.dockerfile .

After the container is created, you can start it. This command starts the container and maps a projects folder in user directory to /projects in docker container

docker run -it --rm -v ~/projects:/projects -h js --name javascript js-image