Create writable /app/data in image for push subscription persistence

This commit is contained in:
Nate committed 2026-03-16 13:30:02 -04:00
1 parent 722e278f8e
commit 2d3f4f5960
1 file changed
+3
+3
View File
@@ -7,6 +7,9 @@ RUN npm ci --omit=dev
COPY . .
# Ensure runtime data directory exists and is writable when running as non-root.
RUN mkdir -p /app/data && chown -R node:node /app
ENV PORT=3000
ENV NODE_ENV=production