Updated dockerfile for backend

This commit is contained in:
Patrick Alvin Alcala 2025-10-22 16:31:24 +08:00
parent 5719c7dea6
commit 5430bf7a1c

View file

@ -4,7 +4,7 @@ COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN GOOS=linux GOARCH=amd64 go build -pgo=auto -ldflags="-s -w" -o bin/esign-server main.go
RUN GOOS=linux GOARCH=amd64 GOAMD64=v1 go build -pgo=auto -ldflags="-s -w" -o bin/esign-server main.go
FROM alpine:latest
WORKDIR /app