Skip to content

Commit

Permalink
chore: use npm to rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Nov 24, 2023
1 parent c2f1b2f commit 3933f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ COPY . .
RUN [ -d 'node_modules' ] && echo "Skipping install" || yarn install --immutable

# Fix issue with serialport bindings #2349
RUN npm_config_build_from_source=true yarn rebuild @serialport/bindings-cpp
RUN npm_config_build_from_source=true npm rebuild @serialport/bindings-cpp

# Build back and frontend only when not existing
RUN [ -d 'dist' ] && echo "Skipping build" || yarn build
Expand Down

0 comments on commit 3933f9d

Please sign in to comment.