Skip to content

Commit

Permalink
fix: docker contrib (#1841)
Browse files Browse the repository at this point in the history
  • Loading branch information
darkbasic authored Oct 15, 2021
1 parent 1ca04d0 commit d8a1b0d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions docker/Dockerfile.contrib
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# NOTE: This Dockerfile only works with BuildKit enabled.
# Please find instructions on how to run it in README.md.
# Please find instructions on how to run it at
# https://zwave-js.github.io/zwavejs2mqtt/#/development/custom-docker?id=building-a-container-using-dockerfilecontrib
ARG SRC=git-clone-src

#####################
Expand All @@ -20,8 +21,8 @@ RUN git clone -b ${Z2M_BRANCH} --depth 1 ${Z2M_REPOSITORY}

# Option 2: Copy from local sources
FROM node:16.3.0-buster AS local-copy-src
COPY --chown=node --from=git-clone-src /home/node/node-zwave-js /home/node/node-zwave-js
COPY --chown=node --from=git-clone-src /home/node/zwavejs2mqtt /home/node/zwavejs2mqtt
COPY --chown=node node-zwave-js /home/node/node-zwave-js
COPY --chown=node zwavejs2mqtt /home/node/zwavejs2mqtt

#####################
# Build Environment #
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"dev-https": "SERVER_SSL='true' yarn run dev",
"dev:server": "ts-node-dev --inspect -- bin/www.ts",
"dev-https:server": "HTTPS='true' ts-node-dev --inspect -- bin/www.ts",
"start": "node server/bin/www.js",
"start": "node --preserve-symlinks server/bin/www.js",
"lint": "npm-run-all 'lint:*'",
"lint-fix": "npm-run-all 'lint-fix:*'",
"lint:eslint": "eslint --ext .js,.ts,.vue .",
Expand Down

0 comments on commit d8a1b0d

Please sign in to comment.