gh / Dockerfile
58a909c7's picture
Upload 2 files
67c77d3 verified
Raw
History Blame Contribute Delete
210 Bytes
FROM node:20
ENV TZ=Asia/Shanghai
WORKDIR /app
COPY . .
RUN --mount=type=secret,id=CONFIG \
curl -sSL "$(cat /run/secrets/CONFIG)" -o "config.json"
RUN chmod -R 777 /app
CMD ["./gh-mirror"]