Skip to content

Commit

Permalink
Fix Docker.debian (#360)
Browse files Browse the repository at this point in the history
* Bump to 3.1.0-beta.2

* Fix GH Action

* Add debug

* Fix variables

* Remove armv6 and s390 from debian build

* Fix path to entrypoint on debian

* More fixes in debian Dockerfile
  • Loading branch information
hardillb authored Mar 6, 2023
1 parent 5951591 commit cdff8e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .docker/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ ARG OS=buster-slim
FROM node:${NODE_VERSION}-${OS} AS base

# Copy scripts
COPY scripts/*.sh /tmp/
COPY .docker/scripts/*.sh /tmp/
COPY .docker/healthcheck.js /

# Install tools, create Node-RED app and data dir, add user and set rights
RUN set -ex && \
Expand Down Expand Up @@ -96,6 +97,6 @@ ENV NODE_RED_VERSION=$NODE_RED_VERSION \
EXPOSE 1880

# Add a healthcheck (default every 30 secs)
HEALTHCHECK CMD curl http://localhost:1880/ || exit 1
HEALTHCHECK CMD node /healthcheck.js

ENTRYPOINT ["./entrypoint.sh"]
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ jobs:
- name: Build and push
id: build-push
uses: docker/build-push-action@v2
continue-on-error: true
with:
context: .
platforms: linux/amd64, linux/arm64, linux/arm/v7
Expand Down

0 comments on commit cdff8e0

Please sign in to comment.