Skip to content

Commit

Permalink
chore(backend): update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
detj committed Jul 22, 2024
1 parent 7f27b24 commit 1da6324
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion measure-backend/measure-go/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ FROM public.ecr.aws/docker/library/golang:alpine AS builder
RUN apk add --no-cache git
WORKDIR /go/src/app
# COPY go.mod go.sum ./
COPY ["go.mod", "go.sum", "./"]
# COPY ["go.mod", "go.sum", "./"]
COPY go.mod ./
COPY go.sum ./
RUN go get -d -v ./...
COPY . .
# RUN go build -o /go/bin/app -v ./...
Expand Down

0 comments on commit 1da6324

Please sign in to comment.