From 876f9399c2d19cb7dcbe5f441f6ff8afdcb196f5 Mon Sep 17 00:00:00 2001 From: Atif Ather <40694397+atifather@users.noreply.github.com> Date: Thu, 14 Dec 2023 04:12:12 +0500 Subject: [PATCH] Update Dockerfile Signed-off-by: Atif Ather <40694397+atifather@users.noreply.github.com> --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4cd8269..77b88b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,6 +35,10 @@ RUN apt-get update && apt-get install -y make WORKDIR /app RUN make build-web +# Copy the frontend build from the frontend stage +# COPY --from=frontend /app/web /checkpointz +RUN serve -s build -l 5555 + # Stage 3: Create the final image FROM ubuntu:latest @@ -48,10 +52,6 @@ RUN apt-get update && apt-get -y upgrade && apt-get install -y --no-install-reco # Copy the Go binary from the builder stage COPY --from=builder /bin/app /checkpointz -# Copy the frontend build from the frontend stage -# COPY --from=frontend /app/web /checkpointz -RUN serve -s build -l 5555 - # Expose port 5555 EXPOSE 5555