mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-26 21:22:16 +08:00
feat: add docker buildx images is openim-web
Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
parent
9eee94e5ec
commit
3fdc5104ed
@ -393,6 +393,14 @@ archives:
|
|||||||
{{- else if eq .Arch "386" }}i386
|
{{- else if eq .Arch "386" }}i386
|
||||||
{{- else }}{{ .Arch }}{{ end }}
|
{{- else }}{{ .Arch }}{{ end }}
|
||||||
{{- if .Arm }}v{{ .Arm }}{{ end }}
|
{{- if .Arm }}v{{ .Arm }}{{ end }}
|
||||||
|
|
||||||
|
# Set this to true if you want all files in the archive to be in a single directory.
|
||||||
|
# If set to true and you extract the archive 'goreleaser_Linux_arm64.tar.gz',
|
||||||
|
# you'll get a folder 'goreleaser_Linux_arm64'.
|
||||||
|
# If set to false, all files are extracted separately.
|
||||||
|
# You can also set it to a custom folder name (templating is supported).
|
||||||
|
wrap_in_directory: true
|
||||||
|
|
||||||
# use zip for windows archives
|
# use zip for windows archives
|
||||||
files:
|
files:
|
||||||
- CHANGELOG/*
|
- CHANGELOG/*
|
||||||
@ -406,13 +414,6 @@ archives:
|
|||||||
- src: "*.md"
|
- src: "*.md"
|
||||||
dst: docs
|
dst: docs
|
||||||
|
|
||||||
# Set this to true if you want all files in the archive to be in a single directory.
|
|
||||||
# If set to true and you extract the archive 'goreleaser_Linux_arm64.tar.gz',
|
|
||||||
# you'll get a folder 'goreleaser_Linux_arm64'.
|
|
||||||
# If set to false, all files are extracted separately.
|
|
||||||
# You can also set it to a custom folder name (templating is supported).
|
|
||||||
wrap_in_directory: true
|
|
||||||
|
|
||||||
# Strip parent folders when adding files to the archive.
|
# Strip parent folders when adding files to the archive.
|
||||||
strip_parent: true
|
strip_parent: true
|
||||||
|
|
||||||
|
|||||||
@ -41,9 +41,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/_output/bin/platforms /openim/openim-server/_output/bin/platforms
|
||||||
COPY --from=builder /openim/openim-server/config /openim/openim-server/config
|
COPY --from=builder /openim/openim-server/config /openim/openim-server/config
|
||||||
|
|
||||||
ENV PORT 10140
|
ENV PORT 10140 \
|
||||||
ENV WS_PORT 10001
|
WS_PORT 10001 \
|
||||||
ENV CONFIG=/openim/openim-server/config
|
CONFIG=/openim/openim-server/config
|
||||||
|
|
||||||
EXPOSE $PORT
|
EXPOSE $PORT
|
||||||
EXPOSE $WS_PORT
|
EXPOSE $WS_PORT
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user