Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Atif Ather <[email protected]>
  • Loading branch information
atifather authored Dec 13, 2023
1 parent 8dc02f7 commit 876f939
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 876f939

Please sign in to comment.