BBIY/Dockerfile

9 lines
157 B
Docker
Raw Permalink Normal View History

FROM node:18.2.0
ENV NODE_ENV=production
WORKDIR /app
COPY ["package.json", "package-lock.json*", "./"]
RUN npm install
COPY . .
CMD [ "node", "index.js" ]