Skip to content

Commit

Permalink
Fix shell syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
kpine committed Dec 2, 2023
1 parent e4c1eb5 commit 8e0228f
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 @@ -25,7 +25,7 @@ RUN \
COPY . .

# if node_modules does not exist, install deps, if dist is missing, install also dev deps
RUN [ -d 'node_modules' ] && echo "Skipping install" || npm install $([ -d 'dist'] && echo '--omit=dev' || echo '')
RUN [ -d 'node_modules' ] && echo "Skipping install" || npm install $([ -d 'dist' ] && echo '--omit=dev' || echo '')

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

0 comments on commit 8e0228f

Please sign in to comment.