From 757c7214757393dac21b830d2f0f0902ca4352ef Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Wed, 13 Mar 2024 11:22:47 +0900 Subject: [PATCH] =?UTF-8?q?watchdog-go:=20Dockerfile=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- watchdog-go/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watchdog-go/Dockerfile b/watchdog-go/Dockerfile index ebfff5e..9959ba4 100644 --- a/watchdog-go/Dockerfile +++ b/watchdog-go/Dockerfile @@ -1,7 +1,7 @@ FROM golang:1.22.1-alpine3.19 as build WORKDIR /app COPY go.mod go.sum main.go ./ -COPY git.usbharu.dev/ ./git.usbharu.dev +COPY watchdog/ ./watchdog RUN go mod download && go build -o watchdog-go -ldflags="-s -w" -trimpath FROM alpine:3.19