Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -4,7 +4,8 @@ FROM golang:alpine AS builder
|
|
4 |
# 设置环境变量
|
5 |
ENV GO111MODULE=on \
|
6 |
CGO_ENABLED=0 \
|
7 |
-
GOOS=linux
|
|
|
8 |
|
9 |
|
10 |
|
|
|
4 |
# 设置环境变量
|
5 |
ENV GO111MODULE=on \
|
6 |
CGO_ENABLED=0 \
|
7 |
+
GOOS=linux \
|
8 |
+
PORT=7860
|
9 |
|
10 |
|
11 |
|