Skip to content

Commit

Permalink
Update Dockerfile to include Angular (npm deps) and build application…
Browse files Browse the repository at this point in the history
… (works on Google Cloud Build)
  • Loading branch information
wwwillchen committed Nov 13, 2023
1 parent bdfed78 commit f04ea38
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,5 @@ EXPOSE 8080
# Make sure Bazel is working
RUN bazel version

# Trim out Angular section to avoid NPM dependencies which take a long time to install
RUN sed -i '/# Angular-related/,/# Optic/d' WORKSPACE

# Run the following Bazel command manually inside the container
# after creating the image because it takes forever during the build step.
# Afterwards, commit the container into an image and deploy that image.

# RUN bazel build //optic:cli
# Build the Optic CLI
RUN bazel build //optic:cli

0 comments on commit f04ea38

Please sign in to comment.