Skip to content

Commit

Permalink
Use single layer
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshtin committed Mar 9, 2021
1 parent d0a629e commit 387d7df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Expand Up @@ -6,8 +6,8 @@ FROM temporalio/base-builder:1.0.0 AS temporal-builder

WORKDIR /temporal

# Copy go.mod first to build docker layer with go dependencies (to improve rebuild time).
COPY go.mod go.sum .
# Copy go.mod/go.sum first to build docker layer with go dependencies (to improve rebuild time).
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN make bins
Expand Down

0 comments on commit 387d7df

Please sign in to comment.