Fixed error with docker
This commit is contained in:
@@ -5,6 +5,7 @@ COPY ./cmd/*.go /music-server/cmd/
|
||||
COPY ./cmd/swagger /music-server/cmd/swagger
|
||||
COPY ./cmd/search /music-server/cmd/search
|
||||
COPY ./pkg /music-server/pkg/
|
||||
COPY ./db /music-server/db/
|
||||
|
||||
#WORKDIR /music-server/
|
||||
#RUN go mod download
|
||||
|
||||
2
go.mod
2
go.mod
@@ -9,6 +9,7 @@ require (
|
||||
github.com/golang-migrate/migrate v3.5.4+incompatible
|
||||
github.com/jackc/pgtype v1.14.3
|
||||
github.com/jackc/pgx/v5 v5.5.5
|
||||
github.com/lib/pq v1.10.2
|
||||
github.com/spf13/afero v1.11.0
|
||||
gopkg.in/yaml.v3 v3.0.1
|
||||
)
|
||||
@@ -38,7 +39,6 @@ require (
|
||||
github.com/json-iterator/go v1.1.12 // indirect
|
||||
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
|
||||
github.com/leodido/go-urn v1.4.0 // indirect
|
||||
github.com/lib/pq v1.10.2 // indirect
|
||||
github.com/mattn/go-isatty v0.0.20 // indirect
|
||||
github.com/moby/docker-image-spec v1.3.1 // indirect
|
||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
||||
|
||||
Reference in New Issue
Block a user