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 66b763b commit 2b696fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN adduser \
WORKDIR /app
COPY . ./
RUN go mod edit -dropreplace github.com/octoposprime/op-be-shared
RUN go mod tidy
#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

0 comments on commit 2b696fd

Please sign in to comment.