From d1b821a8c708dabe708ae599208685a06a96b164 Mon Sep 17 00:00:00 2001 From: Felipe Cotti Date: Mon, 27 Jan 2025 02:11:13 -0300 Subject: [PATCH] Gee, Go. --- 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 b77fa7d..df21333 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 /root/ +WORKDIR /app COPY --from=builder /app/guestbooky-backup . -RUN chmod +x guestbooky-backup +RUN chmod +x /app/guestbooky-backup -CMD ["./guestbooky-backup"] \ No newline at end of file +CMD ["./app/guestbooky-backup"] \ No newline at end of file