Add OCI ARM64 deployment setup

- deploy.sh: local-to-OCI deploy script (rsync config, docker build, kubectl apply)
- deployment.yaml: namespace, PVC, Deployment with registry image, Service
- Dockerfile: COPY config.yaml directly into image, drop openssh-client

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-28 10:47:11 +00:00
parent 67ef516462
commit a26950c432
4 changed files with 152 additions and 273 deletions

View File

@@ -16,10 +16,11 @@ RUN cargo build --release
# Stage 3: Runtime
FROM alpine:3.21
RUN apk add --no-cache openssh-client ca-certificates
RUN apk add --no-cache ca-certificates
WORKDIR /app
COPY --from=backend /app/target/release/tori .
COPY --from=frontend /app/web/dist ./web/dist/
COPY config.yaml .
EXPOSE 3000
CMD ["./tori"]