fresh
fresh copied to clipboard
Using fresh in docker container will not builds and (re)starts
Hello, this problem occurred when I used this tool in the Docker container
My steps
- docker pull golang:latest
- docker exec -itd --name go-lang-18080 -v "C:\work\gin>:/opt/gin" -p 18080:8080
- go get github.com/pilu/fresh
- fresh
There is no hot update code after changes are made in the host
Thanks !
It works.
FROM golang:alpine AS development
WORKDIR /app
ENV ENV=development
COPY . /app
RUN go get -v
RUN go get github.com/pilu/fresh
ENTRYPOINT ["fresh"]
EXPOSE 8080 3306