huan/Dockerfile

7 lines
102 B
Docker
Raw Permalink Normal View History

2024-08-06 11:42:29 +08:00
FROM node:14
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
CMD ["node", "src/index.js"]