<reponame>andrewpsp/docker-hapi<gh_stars>1-10
# Pull base image from offical node repository to date 9.0
FROM node:erbium-buster-slim

# Maintainer
LABEL Author="admin@entercloud" 

# Add the current working folder as a mapped folder at /usr/src/app
ADD . /usr/src/app

# Set the current working directory to the new mapped folder.
WORKDIR /usr/src/app

# Install the express generator which gives you also scaffolding tools.
RUN npm install hapi

# Expose the node.js port to the Docker host.
EXPOSE 3000

# This is the start the app.
CMD [ "node", "app.js" ]