update: add missing dirs to the Dockerfile

This commit is contained in:
ngn 2024-08-26 00:27:25 +03:00
parent 561f9a2340
commit 25e6fcaa23
2 changed files with 10 additions and 4 deletions

View File

@ -2,9 +2,11 @@ FROM golang:1.22.5
WORKDIR /app WORKDIR /app
COPY *.go ./ COPY *.go ./
COPY *.mod ./ COPY *.mod ./
COPY *.sum ./ COPY *.sum ./
COPY lib ./log
COPY lib ./lib COPY lib ./lib
COPY public ./public COPY public ./public
COPY routes ./routes COPY routes ./routes

View File

@ -6,4 +6,8 @@ security: */*.go *.go
format: format:
gofmt -s -w . gofmt -s -w .
.PHONY: format update:
go get -u
go mod tidy
.PHONY: format update