We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
To add support for Docker, you only need two files: Dockerfile and docker-compose.yml
Dockerfile
docker-compose.yml
In the root project directly, create a file named Dockerfile with the following contents:
FROM mhart/alpine-iojs:2.1.0 WORKDIR /src
In the root project directly, create a file named docker-compose.yml with the following contents:
app: build: . ports: - "4000:4000" volumes: - .:/src command: "npm start" restart: always
$ docker-compose build $ docker-compose run app npm install $ docker-compose up