# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker # you will also find guides on how best to write your Dockerfile FROM cimg/go:1.23 as builder # The two following lines are requirements for the Dev Mode to be functional # Learn more about the Dev Mode at https://huggingface.co/dev-mode-explorers WORKDIR /app COPY --chown=user . . RUN go install && go build main.go CMD ["./main","config.json"]