Important: This is the documentation for the upcoming Feathers v5 (Dove). See for the current version.

# Dockerize a Feathers application

A Feathers application can be dockerized like any other Node.js application (opens new window).

# Create an app

mkdir feathers-app
cd feathers-app/
feathers generate app

# Dockerfile

Add the following Dockerfile to the project directory:

FROM node:lts-alpine

WORKDIR /usr/src/app

COPY package*.json ./

RUN npm install

COPY . .


CMD ["npm", "run", "start"]

# Build the image

docker build -t my-feathers-image .

# Start the container

docker run -d -p 3030:3030 --name my-feathers-container my-feathers-image

Anything unclear or missing? Get help (opens new window) or Edit this page (opens new window)

Last Updated: 4/16/2020, 3:50:08 PM