showip/Dockerfile

9 lines
135 B
Docker
Raw Permalink Normal View History

2021-04-09 16:56:13 +01:00
FROM node:14-buster-slim
2021-04-09 17:10:36 +01:00
ADD package.json package-lock.json /app/
2021-04-09 16:56:13 +01:00
WORKDIR /app
RUN npm i
2021-04-09 17:10:36 +01:00
ADD app.js /app/
2021-04-09 16:56:13 +01:00
USER nobody
CMD node app.js