Would you like me to add a sample docker file?
alik604 opened this issue · 0 comments
alik604 commented
Hey,
I used your app to learn docker.
Would you like me to make a pull to add a sample docker file?
FROM node:14.8
WORKDIR /app
# add `/app/node_modules/.bin` to $PATH
ENV PATH /app/node_modules/.bin:$PATH
# install app dependencies
COPY package.json ./
COPY package-lock.json ./
RUN npm install --silent
# add app
COPY . ./
# start app
CMD ["npm", "start"]