awesome-compose/nginx-nodejs-redis/web/Dockerfile
Ajeet Singh Raina, Docker Captain, ARM Innovator, RedisInc 60d352e4a7
Update nginx-nodejs-redis/web/Dockerfile
Co-authored-by: Guillaume Lours <guillaume@lours.me>
2022-03-15 16:47:09 +05:30

10 lines
143 B
Docker

FROM node:14.17.3-alpine3.14
WORKDIR /usr/src/app
COPY package.json package-lock.json ./
RUN npm ci
COPY ./server.js ./
CMD ["npm","start"]