Updated dockerfile for backend
This commit is contained in:
parent
5719c7dea6
commit
5430bf7a1c
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ COPY go.mod go.sum ./
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
|
|
||||||
COPY . .
|
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
|
FROM alpine:latest
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue