Skip to content

Commit 1c641d3

Browse files
committed
docker: also add certs to use https urls, exit if start script fail
1 parent 4a94333 commit 1c641d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM node:9.2-alpine
1+
FROM node:alpine
22

3-
RUN apk update && apk add bash
3+
RUN apk update && apk add bash ca-certificates
44
RUN npm install -g node-red node-red-admin
55

66
WORKDIR /app

start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
set -x
2+
set -xe
33

44

55
if [[ -n $NODES_URL_FILE ]]; then

0 commit comments

Comments
 (0)