Skip to content

Commit

Permalink
chore(docker): remove unecessary files
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Nov 30, 2023
1 parent db15612 commit 3133d61
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,13 @@ RUN npm_config_build_from_source=true npm rebuild @serialport/bindings-cpp
RUN [ -d 'dist' ] && echo "Skipping build" || npm run build

RUN npm prune --omit=dev && \
rm -rf \
package-lock.json \
build \
package.sh \
src \
api \
static \
docs \
kubernetes \
test \
.github \
.vscode
find . -maxdepth 1 \
! -name "node_modules" \
! -name ".git" \
! -name "package.json" \
! -name "server" \
! -name "dist" \
-exec rm -rf {} +

# add plugin support, space separated
ARG plugins
Expand Down

0 comments on commit 3133d61

Please sign in to comment.