Delete Dockerfile.gateway

This commit is contained in:
Daniel Hougaard
2025-05-02 16:38:31 +04:00
parent a80d5f10e5
commit 5dbded60f4

View File

@@ -1,24 +0,0 @@
# Build stage
FROM golang:1.23.0-alpine AS builder
WORKDIR /app
COPY ./cli .
RUN go build -o infisical-cli .
FROM alpine:3.19
ENV TOKEN=""
ENV INFISICAL_API_URL="https://app.infisical.com"
WORKDIR /app
COPY --from=builder /app/infisical-cli .
# Make the binary executable
RUN chmod +x /app/infisical-cli
CMD ["sh", "-c", "if [ -z \"${TOKEN}\" ]; then echo 'ERROR: TOKEN environment variable must be set'; exit 1; fi && ./infisical-cli gateway --token ${TOKEN} --domain ${INFISICAL_API_URL}"]