File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,11 @@ RUN rm -rf /srv/ttn-lorawan/lorawan-webhook-templates/.git
14
14
15
15
FROM alpine:3.21
16
16
17
- RUN addgroup -g 886 thethings && adduser -u 886 -S -G thethings thethings
17
+ RUN addgroup -g 886 thethings && \
18
+ adduser -u 886 -S -G thethings thethings && \
19
+ mkdir -p /home/thethings && \
20
+ chown thethings:thethings /home/thethings
21
+ # RUN addgroup -g 886 thethings && adduser -u 886 -S -G thethings thethings
18
22
19
23
RUN apk --update --no-cache add ca-certificates curl
20
24
@@ -41,4 +45,8 @@ ENV TTN_LW_HEALTHCHECK_URL=http://localhost:1885/healthz
41
45
42
46
HEALTHCHECK --interval=1m --timeout=5s CMD curl -f $TTN_LW_HEALTHCHECK_URL || exit 1
43
47
48
+ RUN mkdir /home/thethings/.cache
49
+
50
+ VOLUME ["/home/thethings/.cache" ]
51
+
44
52
USER thethings:thethings
You can’t perform that action at this time.
0 commit comments