fix: chat scripts path bug

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim)
2023-08-09 21:12:26 +08:00
parent 4bc35abf04
commit 666cd1e8a8
3 changed files with 8 additions and 3 deletions
+4 -1
View File
@@ -34,10 +34,13 @@ COPY . .
RUN make clean
RUN make build BINS=openim-api
FROM ghcr.io/openim-sigs/openim-bash-image:latest
# FROM ghcr.io/openim-sigs/openim-bash-image:latest
FROM test:v1
WORKDIR /openim/openim-server
RUN mkdir -p /openim/openim-server/$(cat ~/os)/$(cat ~/arch)/bin
RUN mkdir -p /openim/openim-server/go/$(go env GOOS)/$(go env GOARCH)/bin
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