v1.5.1 - create writable /app/data for settings volume

This commit is contained in:
2026-06-15 09:27:11 +10:00
parent b9389c683d
commit e444a457f5
+6 -1
View File
@@ -17,7 +17,12 @@ HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
CMD wget -qO- http://localhost:3000/api/config || exit 1
RUN addgroup -g 1001 -S appgroup && \
adduser -S appuser -u 1001 -G appgroup
adduser -S appuser -u 1001 -G appgroup && \
mkdir -p /app/data && \
chown -R appuser:appgroup /app/data
VOLUME ["/app/data"]
USER appuser
CMD ["node", "server.js"]