eth0izzle / shhgit

Ah shhgit! Find secrets in your code. Secrets detection for your GitHub, GitLab and Bitbucket repositories.

Home Page:https://www.shhgit.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error docker install "docker-compose up"

RonPulent opened this issue · comments

Step 8/9 returns the following error

Step 8/9 : COPY /shhgit /app COPY failed: file not found in build context or excluded by .dockerignore: stat shhgit: file does not exist ERROR: Service 'shhgit-app' failed to build : Build failed
Any ideas?

Installing in UBUNTU 20.04

BTW here is the actual Dockerfile:

`FROM golang:alpine AS builder
WORKDIR /go/src
COPY . .

RUN export CGO_ENABLED=0
go install
go build -o

FROM golang:alpine AS runtime
WORKDIR /app

RUN apk update && apk add --no-cache git

COPY --from=builder /shhgit \
/app

ENTRYPOINT [ "/app/shhgit" ]`