log-viewer/backend/Dockerfile

16 lines
292 B
Docker
Raw Permalink Normal View History

2022-02-09 11:56:34 +00:00
# pull official node image
2022-02-08 21:03:34 +00:00
FROM node
2022-02-09 11:56:34 +00:00
# define /app as working directory
WORKDIR /app
# copy package.json and package-lock.json to /app
COPY package.json /app
COPY package-lock.json /app
# install node dependencies
RUN npm install
COPY . /app
# launch node server
ENTRYPOINT node server.js