feat: add docker buildx images is openim-web

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
v3.3.0-beta.2
Xinwei Xiong(cubxxw-openim) 2 years ago
parent 263ab752dd
commit cc5fa648de
No known key found for this signature in database
GPG Key ID: 1BAD6F395338EFDE

@ -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…
Cancel
Save