March 2020 JaxNode
FROM node:14.4.0
RUN mkdir /src
COPY package.json /src
WORKDIR /src
RUN npm install
ENV foo bar
# Add your source files
COPY . /src
CMD ["npm","start"]
bash > docker build -t username/container:version /src
bash > docker run -d -p 80:3000 username/container:version