Skip to content

Commit

Permalink
scratch
Browse files Browse the repository at this point in the history
  • Loading branch information
vsliouniaev committed Mar 16, 2024
1 parent 954e2c5 commit dfb080b
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 CGO_ENABLED=0 go build -o main -ldflags \
"-X ${PACKAGE}/core.Version=${version} -X ${PACKAGE}/core.BuildTime=${created}"
RUN mv main /main

FROM gcr.io/distroless/base
FROM scratch
COPY --from=build /main /passcache
COPY ./www /www
ENTRYPOINT ["/passcache"]

0 comments on commit dfb080b

Please sign in to comment.