From f80455131142d763281bbee54fd475bf74beaa77 Mon Sep 17 00:00:00 2001 From: Gaius Date: Mon, 29 Nov 2021 15:55:10 +0800 Subject: [PATCH] feat: update manager image (#831) Signed-off-by: Gaius --- build/images/manager/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/images/manager/Dockerfile b/build/images/manager/Dockerfile index 260bbec64..9e3754c79 100644 --- a/build/images/manager/Dockerfile +++ b/build/images/manager/Dockerfile @@ -17,11 +17,11 @@ COPY ./manager/console /build RUN npm run build FROM ${BASE_IMAGE} -WORKDIR /opt/dragonfly/bin +WORKDIR /opt/dragonfly ENV PATH=/opt/dragonfly/bin:$PATH RUN mkdir -p /opt/dragonfly/bin/manager/console \ && echo "hosts: files dns" > /etc/nsswitch.conf COPY --from=server-builder /opt/dragonfly/bin/manager /opt/dragonfly/bin/server -COPY --from=console-builder /build/dist /opt/dragonfly/bin/manager/console/dist +COPY --from=console-builder /build/dist /opt/dragonfly/manager/console/dist EXPOSE 8080 65003 ENTRYPOINT ["/opt/dragonfly/bin/server"]