Closed jcsix694 closed 2 years ago
Hey! - I'm making a little simple API And I've been trying to get CompuleDaemon to see any file changes and rebuild with docker. Any changes I make doesn't get reflected on my endpoints. Could I have some help/pointers?
File Structure:
- api -- go.mod -- go.sum -- main.go -- controllers --- users-controller.go
DockerFile:
# syntax=docker/dockerfile:1 FROM golang:latest RUN apt-get install git EXPOSE 8080 WORKDIR /go/src/app COPY /api . RUN go mod download -x RUN ["go", "install", "github.com/githubnemo/CompileDaemon@latest"] ENTRYPOINT CompileDaemon -build="go build main.go" -command="./main -my-options"
Hey! - I'm making a little simple API And I've been trying to get CompuleDaemon to see any file changes and rebuild with docker. Any changes I make doesn't get reflected on my endpoints. Could I have some help/pointers?
File Structure:
DockerFile: