7 lines
176 B
Docker
7 lines
176 B
Docker
|
FROM node:12.18.1
|
||
|
ENV NODE_ENV=production
|
||
|
WORKDIR /app
|
||
|
COPY ["package.json", "package-lock.json*", "./"]
|
||
|
RUN npm install --production
|
||
|
COPY . .
|
||
|
CMD [ "node", "server.js" ]
|