Skip to content

buildkite/nodejs-docker-example

Repository files navigation

Buildkite Node.js Docker Example

Build status Add to Buildkite

This repository is an example Buildkite pipeline that tests a Node.js project using Docker and the standard Node.js Docker image.

👉 See this example in action: buildkite/nodejs-docker-example

See the full Getting Started Guide for step-by-step instructions on how to get this running, or try it yourself:

Add to Buildkite

Screenshot of Buildkite Node.js Docker example pipeline

How it works

This example:

  • Uses Docker Compose to run npm test inside a container
  • Uses the official node Docker image
  • Tests a simple Node.js app in a containerized Buildkite pipeline

Running locally

To run the test outside of Buildkite:

docker-compose run app npm test

License

See LICENSE.md (MIT)

About

An example pipeline that runs tests inside a Docker container using the official Node.js image.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 10