Skip to content

Commit

Permalink
Avoid extra copy of ts/js files
Browse files Browse the repository at this point in the history
  • Loading branch information
niloc132 authored and rcaudy committed Nov 30, 2023
1 parent 29ead8c commit f40ce72
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions proto/raw-js-openapi/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
FROM deephaven/proto-backplane-grpc:local-build AS proto-backplane-grpc

FROM deephaven/node:local-build
WORKDIR /usr/src/app
# Note: we are setting CI=true, even for local development, otherwise commands may run in dev-mode (ie,
Expand All @@ -12,9 +10,6 @@ COPY . .
RUN set -eux; \
npm ci --unsafe-perm

# TODO: this gets TS files which we don't need
COPY --from=proto-backplane-grpc generated/js raw-js-openapi/build/js-src

WORKDIR /usr/src/app/raw-js-openapi
RUN set -eux; \
../node_modules/.bin/webpack

0 comments on commit f40ce72

Please sign in to comment.