awesome-compose/nginx-nodejs-redis/web1/Dockerfile
ajeetraina 657dc7c97f Added Nginx, Node and Redis project
Signed-off-by: ajeetraina <ajeetraina@gmail.com>
2022-03-13 17:02:24 +05:30

10 lines
121 B
Docker

FROM node:alpine
WORKDIR /usr/src/app
COPY ./package*.json ./
RUN npm install
COPY ./server.js ./
CMD ["npm","start"]