File size: 417 Bytes
959af05
 
 
 
 
 
 
 
 
 
 
61009b4
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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"]