This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user