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 14, 2023
1 parent 977da98 commit efae056
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 @@ -23,16 +23,16 @@ FROM node:18 AS frontend
# RUN npm install -g serve

# Set the working directory for the frontend
WORKDIR /src
WORKDIR /app

# Copy the entire project
COPY . /src
COPY . /app

# Install make, required for the build process
RUN apt-get update && apt-get install -y make

# Change to the ./web directory and build the frontend
WORKDIR /src
WORKDIR /app
RUN make build-web

# Copy the frontend build from the frontend stage
Expand All @@ -53,7 +53,7 @@ RUN apt-get update && apt-get -y upgrade && apt-get install -y --no-install-reco
COPY --from=builder /bin/app /checkpointz/checkpointz

# Copy the frontend build from the frontend stage
COPY --from=frontend /src/web/build /checkpointz/build
COPY --from=frontend /app/web/build /checkpointz/build

# Expose port 5555
EXPOSE 5555
Expand Down

0 comments on commit efae056

Please sign in to comment.