From d2173a4302b7f11650ee51e20c583ae1bf416de8 Mon Sep 17 00:00:00 2001 From: CareyWong Date: Sat, 25 Feb 2023 17:27:01 +0000 Subject: [PATCH] Fix Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0677eaa..582c2a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM golang:1.19-alpine AS dependencies WORKDIR /app RUN go env -w GO111MODULE="on" && go env -w GOPROXY="https://goproxy.cn,direct" -COPY go.sum go.mod ./ +COPY go.sum go.mod main.go ./ RUN go mod tidy FROM dependencies as build