From 6e62c3728a25bf3031f1f2328ded9ebca7db3dd4 Mon Sep 17 00:00:00 2001 From: Felipe Cotti Date: Mon, 27 Jan 2025 02:14:26 -0300 Subject: [PATCH] Let's go with root folder. --- build/guestbooky-backup/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/guestbooky-backup/Dockerfile b/build/guestbooky-backup/Dockerfile index df21333..b950d3b 100644 --- a/build/guestbooky-backup/Dockerfile +++ b/build/guestbooky-backup/Dockerfile @@ -11,9 +11,9 @@ RUN go build -o guestbooky-backup cmd/guestbooky-backup/guestbooky-backup.go FROM alpine:latest -WORKDIR /app +WORKDIR /root COPY --from=builder /app/guestbooky-backup . -RUN chmod +x /app/guestbooky-backup +RUN chmod +x /root/guestbooky-backup -CMD ["./app/guestbooky-backup"] \ No newline at end of file +CMD ["./guestbooky-backup"] \ No newline at end of file