nump commited on
Commit
79c75cc
1 Parent(s): a582bb1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -1,9 +1,11 @@
1
  FROM golang:1.21
2
- RUN apt update && apt install git && git clone https://github.com/BlackNum/Duck2api.git /app
3
  WORKDIR /app
4
  RUN go mod download
5
  EXPOSE 7860
6
  ENV SERVER_HOST=0.0.0.0
 
 
7
 
8
  RUN go build -o main .
9
  CMD ["/app/main"]
 
1
  FROM golang:1.21
2
+ RUN apt update && apt install git && git clone https://github.com/aurora-develop/Duck2api.git /app
3
  WORKDIR /app
4
  RUN go mod download
5
  EXPOSE 7860
6
  ENV SERVER_HOST=0.0.0.0
7
+ ENV PREFIX=/hf
8
+ ENV SERVER_PORT=7860
9
 
10
  RUN go build -o main .
11
  CMD ["/app/main"]