Skip to content

Commit cdff8e0

Browse files
authored
Fix Docker.debian (#360)
* 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
1 parent 5951591 commit cdff8e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.docker/Dockerfile.debian

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ ARG OS=buster-slim
55
FROM node:${NODE_VERSION}-${OS} AS base
66

77
# Copy scripts
8-
COPY scripts/*.sh /tmp/
8+
COPY .docker/scripts/*.sh /tmp/
9+
COPY .docker/healthcheck.js /
910

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

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

101102
ENTRYPOINT ["./entrypoint.sh"]

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ jobs:
211211
- name: Build and push
212212
id: build-push
213213
uses: docker/build-push-action@v2
214-
continue-on-error: true
215214
with:
216215
context: .
217216
platforms: linux/amd64, linux/arm64, linux/arm/v7

0 commit comments

Comments
 (0)