Skip to content

Commit

Permalink
fix: 레이어 분리
Browse files Browse the repository at this point in the history
Signed-off-by: nueavv <[email protected]>
  • Loading branch information
nueavv committed Jul 31, 2024
1 parent 9975bee commit 05caee6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nueavv/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ FROM golang:1.19-alpine AS builder

WORKDIR /app

COPY go.mod go.sum main.go ./
COPY go.mod go.sum ./

RUN go mod download

COPY main.go .

RUN go build -o nueavv main.go

FROM alpine:3.20.2
Expand Down

0 comments on commit 05caee6

Please sign in to comment.