| FROM node:lts-alpine | |
| ENV TZ=Asia/Shanghai | |
| ENV PORT=3000 | |
| WORKDIR /app | |
| RUN apk update && apk add --no-cache git | |
| RUN git clone https://github.com/bingloo/c2api.git . | |
| RUN npm i | |
| EXPOSE 3000 | |
| CMD ["node", "src/index.js"] | |
| FROM node:lts-alpine | |
| ENV TZ=Asia/Shanghai | |
| ENV PORT=3000 | |
| WORKDIR /app | |
| RUN apk update && apk add --no-cache git | |
| RUN git clone https://github.com/bingloo/c2api.git . | |
| RUN npm i | |
| EXPOSE 3000 | |
| CMD ["node", "src/index.js"] | |