Error docker install "docker-compose up"
RonPulent opened this issue · comments
RonPulent commented
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
RonPulent commented
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" ]`