Update 'Dockerfile'
build lightwatch / build (push) Successful in 8m31s Details

pull/3/head
nathan 1 year ago
parent 6a024bdd46
commit 8b1111417d

@ -4,7 +4,6 @@ WORKDIR /usr/src/app/rgb
COPY . . COPY . .
RUN go mod tidy RUN go mod tidy
RUN CGO_ENABLED=1 go build --ldflags '-linkmode external -extldflags=-static' RUN CGO_ENABLED=1 go build --ldflags '-linkmode external -extldflags=-static'
#RUN go build .
RUN mkdir -p /usr/src/app/work/ RUN mkdir -p /usr/src/app/work/
RUN cp /usr/src/app/rgb/rgb /usr/src/app/work/rgb RUN cp /usr/src/app/rgb/rgb /usr/src/app/work/rgb

Loading…
Cancel
Save