Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error docker install "docker-compose up" #101

Open
RonPulent opened this issue Apr 30, 2022 · 1 comment
Open

Error docker install "docker-compose up" #101

RonPulent opened this issue Apr 30, 2022 · 1 comment

Comments

@RonPulent
Copy link

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
Copy link
Author

RonPulent commented Apr 30, 2022

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" ]`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant