parent
63fc0f5871
commit
67da69a30c
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ RUN apk add ca-certificates
|
||||||
COPY . /go/src/github.com/hugomd/ascii-live/
|
COPY . /go/src/github.com/hugomd/ascii-live/
|
||||||
RUN cd /go/src/github.com/hugomd/ascii-live && \
|
RUN cd /go/src/github.com/hugomd/ascii-live && \
|
||||||
go mod download && \
|
go mod download && \
|
||||||
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main .
|
CGO_ENABLED=0 GOOS=linux go build -installsuffix cgo -o main .
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
COPY --from=build-env /go/src/github.com/hugomd/ascii-live/main /
|
COPY --from=build-env /go/src/github.com/hugomd/ascii-live/main /
|
||||||
|
|
Loading…
Reference in a new issue