ykl45 commited on
Commit
03ae63b
1 Parent(s): 90ceae6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -2,8 +2,6 @@ FROM golang:1.21 AS builder
2
 
3
  ENV CGO_ENABLED=0
4
 
5
- ENV SERVER_PORT=7860
6
-
7
  RUN apt-get update && apt-get install -y git
8
 
9
  RUN git clone https://github.com/renqabs/Da.git /app
@@ -20,6 +18,6 @@ WORKDIR /app
20
 
21
  COPY --from=builder /app/duck2api /app/duck2api
22
 
23
- EXPOSE 7860
24
 
25
  CMD ["./duck2api"]
 
2
 
3
  ENV CGO_ENABLED=0
4
 
 
 
5
  RUN apt-get update && apt-get install -y git
6
 
7
  RUN git clone https://github.com/renqabs/Da.git /app
 
18
 
19
  COPY --from=builder /app/duck2api /app/duck2api
20
 
21
+ EXPOSE 8080
22
 
23
  CMD ["./duck2api"]