feat: set more help and port set

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim)
2023-08-30 10:08:51 +08:00
parent 2934535c18
commit 8b2bfba89b
10 changed files with 13 additions and 93 deletions
+3 -8
View File
@@ -42,14 +42,9 @@ WORKDIR /openim/openim-server
COPY --from=builder /openim/openim-server/_output/bin/platforms /openim/openim-server/_output/bin/platforms
COPY --from=builder /openim/openim-server/config /openim/openim-server/config
EXPOSE 10170
ENV PROMETHEUS_PORT 20170
CMD ${OPENIM_SERVER_BINDIR}/platforms/$(get_os)/$(get_arch)/openim-push --port 10170
ENV PORT 10170
ENV CONFIG=/openim/openim-server/config
ENV PORT 10170 \
PROMETHEUS_PORT 20170 \
CONFIG=/openim/openim-server/config
EXPOSE $PORT