fix: removing unnecessary comments
This commit is contained in:
@@ -2,12 +2,9 @@ FROM golang:1.22 as builder
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Copy go.mod and go.sum first (if you have them)
|
|
||||||
# This allows better caching of dependencies
|
|
||||||
# COPY go.* ./
|
# COPY go.* ./
|
||||||
RUN go mod init orborus
|
RUN go mod init orborus
|
||||||
|
|
||||||
# Combine all go get commands into a single layer
|
|
||||||
RUN go get \
|
RUN go get \
|
||||||
github.com/docker/docker/api/types \
|
github.com/docker/docker/api/types \
|
||||||
github.com/docker/docker/api/types/container \
|
github.com/docker/docker/api/types/container \
|
||||||
@@ -17,7 +14,6 @@ RUN go get \
|
|||||||
github.com/shuffle/shuffle-shared \
|
github.com/shuffle/shuffle-shared \
|
||||||
github.com/shirou/gopsutil
|
github.com/shirou/gopsutil
|
||||||
|
|
||||||
# Copy the rest of the code
|
|
||||||
COPY orborus.go .
|
COPY orborus.go .
|
||||||
|
|
||||||
RUN go mod tidy && \
|
RUN go mod tidy && \
|
||||||
|
|||||||
Reference in New Issue
Block a user