💚 Fix dockerfile

This commit is contained in:
LittleSheep 2023-12-10 11:54:28 +08:00
parent ec6d834aae
commit 9aeaf0b1e2

View File

@ -3,7 +3,7 @@ FROM golang:alpine as roadsign-server
WORKDIR /source WORKDIR /source
COPY . . COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /dist ./pkg/cmd/main.go RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /dist ./pkg/cmd/server/main.go
# Runtime # Runtime
FROM golang:alpine FROM golang:alpine