Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 317 Bytes
# Build on top of a Node.js + npm image.
FROM node:lts
# Make a codebase directory and work in it
RUN mkdir codebase
WORKDIR /codebase
# Load the package.json and package-lock.json files
COPY package.json ./
COPY package-lock.json ./
# Install packages
RUN npm install
# Expose ports on the container
EXPOSE 8080
You can’t perform that action at this time.