Skip to content

Commit

Permalink
fix: dockerfile path
Browse files Browse the repository at this point in the history
Signed-off-by: Xinwei Xiong(cubxxw-openim) <[email protected]>
  • Loading branch information
cubxxw committed Aug 2, 2023
1 parent 891627a commit a72d0c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN CGO_ENABLED=0 GOOS=${GOOS} GOARCH=${GOARCH} go build -o /openim/openim-chat/
RUN CGO_ENABLED=0 GOOS=${GOOS} GOARCH=${GOARCH} go build -o /openim/openim-chat/bin/open_im_chat_api ./cmd/api/chat_api

# Build the runtime stage
FROM ghcr.io/openim-sigs/openim-bash-image:v1.0.1
FROM ghcr.io/openim-sigs/openim-bash-image:latest

# Set fixed project path
WORKDIR /openim/openim-chat
Expand All @@ -48,6 +48,6 @@ COPY --from=builder ${OPENIM_CHAT_BINDIR} /openim/openim-chat/bin
COPY --from=builder ${OPENIM_CHAT_CMDDIR} /openim/openim-chat/scripts
COPY --from=builder ${OPENIM_CHAT_CONFIG_NAME} /openim/openim-chat/config/config.yaml

WORKDIR $OPENIM_CHAT_CMDDIR
WORKDIR /openim/openim-chat/scripts

CMD ["./docker_start_all.sh"]

0 comments on commit a72d0c4

Please sign in to comment.