diff --git a/Dockerfile b/Dockerfile index 04bf5b7..4e16336 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,11 @@ FROM golang:1.22.5 WORKDIR /app -COPY *.go ./ -COPY *.mod ./ -COPY *.sum ./ +COPY *.go ./ +COPY *.mod ./ +COPY *.sum ./ + +COPY lib ./log COPY lib ./lib COPY public ./public COPY routes ./routes diff --git a/Makefile b/Makefile index 43f73f2..edd7bc1 100644 --- a/Makefile +++ b/Makefile @@ -6,4 +6,8 @@ security: */*.go *.go format: gofmt -s -w . -.PHONY: format +update: + go get -u + go mod tidy + +.PHONY: format update