ci: add Drone pipeline for ai.puro.im deployment
- .drone.yml: pnpm build frontend → go build backend → docker compose up
- .ci/Dockerfile: distroless:nonroot runtime image
- host state (/opt/sub2api/{config.yaml,compose,volumes}) stays untouched
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
5
.ci/Dockerfile
Normal file
5
.ci/Dockerfile
Normal file
@@ -0,0 +1,5 @@
|
||||
FROM gcr.io/distroless/static-debian12:nonroot
|
||||
WORKDIR /app
|
||||
COPY sub2api-linux /app/sub2api
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["/app/sub2api"]
|
||||
Reference in New Issue
Block a user