awesome-compose/nginx-nodejs-redis/web/Dockerfile

10 lines
143 B
Docker
Raw Normal View History

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"]