|
@@ -13,15 +13,9 @@ COPY . /app
|
|
|
# RUN export GOPROXY=https://goproxy.cn,direct && go mod tidy
|
|
|
# RUN go build -ldflags="-s -w" -o ./bin/server ${APP_RELATIVE_PATH}
|
|
|
|
|
|
-# RUN go env -w GOINSECURE='x.sikey.com.cn/*' && \
|
|
|
-# go env -w GONOSUMDB='x.sikey.com.cn/*' && \
|
|
|
-# go env -w GOPRIVATE='x.sikey.com.cn/*'
|
|
|
-
|
|
|
RUN export GOPROXY=https://goproxy.cn,direct && \
|
|
|
go mod tidy && \
|
|
|
- go build -ldflags="-s -w" -o /app/server
|
|
|
-# RUN mv ./etc /app/etc && \
|
|
|
-# mv /locales /app/locales
|
|
|
+ go build -ldflags="-s -w" -o /app
|
|
|
|
|
|
# ENTRYPOINT ["top"]
|
|
|
|
|
@@ -42,7 +36,7 @@ WORKDIR /app
|
|
|
COPY --from=builder /app /app
|
|
|
|
|
|
# EXPOSE ${HTTP_PROT}
|
|
|
-ENTRYPOINT [ "./server" ]
|
|
|
+ENTRYPOINT [ "./websocket" ]
|
|
|
# ENTRYPOINT [ "top" ]
|
|
|
|
|
|
|