huan/Dockerfile
2024-08-06 11:42:29 +08:00

7 lines
102 B
Docker

FROM node:14
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
CMD ["node", "src/index.js"]