Skip to content

Commit

Permalink
fix: dockerfile flags needs two - for copy
Browse files Browse the repository at this point in the history
  • Loading branch information
kashalls committed Dec 15, 2023
1 parent ab900d5 commit 176dc94
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ COPY *.go ./
# Build
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags=”-s -w” -o /kromgo


FROM scratch
COPY from=build /kromgo /kromgo/
COPY --from=build /kromgo /kromgo/

EXPOSE 8080

Expand Down

0 comments on commit 176dc94

Please sign in to comment.