From 22a2e624602212cf68b40d9cab54164c7051210c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 17 Apr 2024 22:39:45 +0200 Subject: embed files --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 90dd051..5929443 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN go run ./cmd/build RUN cp -r static/.well-known static/* public ENV GOOS=linux GOARCH=amd64 CGO_ENABLED=0 -RUN go build ./cmd/server/ +RUN go build server.go # Final stage for app image FROM gcr.io/distroless/static @@ -25,7 +25,6 @@ WORKDIR /app # Copy built application COPY --link config.toml . -COPY --from=builder /app/public public COPY --from=builder /app/server server # Start the server by default, this can be overwritten at runtime -- cgit 1.4.1