Dockerfile 294 B

123456789101112131415
  1. FROM debian:bullseye-slim
  2. RUN apt update && apt install -y ca-certificates && rm -rf /var/lib/apt/lists/*
  3. # 设置工作目录
  4. WORKDIR /app
  5. COPY nexus_client /app/nexus_client
  6. COPY entrypoint.sh entrypoint.sh
  7. RUN chmod +x entrypoint.sh
  8. # 设置默认命令
  9. ENTRYPOINT ["./entrypoint.sh"]