watchdog-go: Dockerfileを修正
/ build-docker-image (pull_request) Successful in 1m9s Details

This commit is contained in:
usbharu 2024-03-13 11:22:47 +09:00
parent ded519314e
commit 757c721475
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
1 changed files with 1 additions and 1 deletions

View File

@ -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