Skip to content

Commit

Permalink
clean up dev deps in image (#329)
Browse files Browse the repository at this point in the history
Signed-off-by: David Huffman <[email protected]>
  • Loading branch information
dshuffma-ibm authored Oct 26, 2022
1 parent a5d1cdb commit a80022f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 19 deletions.
4 changes: 2 additions & 2 deletions docker/console/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ USER 0
RUN chown -R 1001:0 .
RUN ls -ld .
USER 1001
RUN npm ci --omit dev && npm run build_all
RUN npm ci --legacy-peer-deps --omit dev && npm run build_all

# look at stitch output...
RUN ls -l $STITCH_DIR/dist
Expand Down Expand Up @@ -84,7 +84,7 @@ COPY --chown=1001:0 ./athena $SERVER_HOME

USER 0
RUN (dnf update || true)\
&& npm ci \
&& npm ci --omit dev \
# Make sure we can see what packages are getting installed
&& npm ls --production > npm_ls_prod.txt \
&& (dnf clean all || true)
Expand Down
27 changes: 10 additions & 17 deletions packages/stitch/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/stitch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"async": "^3.2.2",
"bn.js": "5.1.*",
"buffer": "^6.0.3",
"fs-extra": "^10.1.0",
"google-protobuf": "3.19.*",
"protobufjs": "^6.11.*",
"safer-buffer": "2.1.*",
Expand Down

0 comments on commit a80022f

Please sign in to comment.