aboutsummaryrefslogblamecommitdiff
path: root/Dockerfile
blob: 2b013eb778a8be7d43d1db99242b9cb0eee1b8f4 (plain) (tree)
1
2
3
4
5
6
7
8
9








                       





                                       

         
                          
FROM node:14

ENV PORT=8080
ENV NODE_ENV=production

WORKDIR /usr/src/app

COPY package*.json ./

RUN npm clean-install --only=production

COPY . .

EXPOSE ${PORT}

USER node

CMD [ "node", "index.js" ]