Skip to content

shipwright-io/sample-nodejs

sample-nodejs

A collection of Nodejs based sample code.

Overview

This repository host minimal assets develop for the Nodejs runtime. These samples are used in Shipwrigh/Build for testing purposes.

Structure

This repository consists of multiple directories, each directory is intended to work with a particular set of tools that are currently supported in Shipwrigh/Build.

/docker-build

Assets with a Dockerfile, which indicates how to compile the specified go file. This asset is intended to work with tools like Kaniko and Buildah.

/docker-build-renamed

Assets with a Dockerfile that uses RenamedDockerfile as the Dockerfile name. This asset is intended to work with tools like Kaniko and Buildah.

/source-build

Assets with pure source code, without any knowledge about Docker. This asset is intended to work with Buildpacks, like the Paketo and Heroku implementation.