Skip to content

Commit

Permalink
Changed Dockerfile for CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
husamettinarabaci committed Feb 13, 2024
1 parent 3eaa99d commit 63a4754
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ RUN adduser \
WORKDIR /app
COPY . ./
RUN go mod edit -dropreplace github.com/octoposprime/op-be-shared
#RUN go mod tidy
#RUN go get -v ./...
RUN go mod tidy
RUN go get -v ./...
RUN go mod download
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o main ./cmd/service/main.go

Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ go 1.20
require (
github.com/golobby/container/v3 v3.3.2
github.com/google/uuid v1.6.0
github.com/octoposprime/op-be-shared v0.0.0-00010101000000-000000000000
google.golang.org/grpc v1.61.0
google.golang.org/protobuf v1.32.0
)
Expand Down

0 comments on commit 63a4754

Please sign in to comment.