feat: harden authenticated deployment

This commit is contained in:
2026-07-29 22:04:40 -04:00
parent 432dd2176f
commit 892479dceb
20 changed files with 3677 additions and 1298 deletions
+4
View File
@@ -9,7 +9,11 @@ RUN npm ci --omit=dev
COPY public ./public
COPY server ./server
COPY shared ./shared
COPY db/migrations ./db/migrations
# The optional Pi agent configuration is mounted read-only here at runtime.
ENV HOME=/home/node
RUN mkdir -p /home/node/.pi/agent && chown -R node:node /home/node/.pi
USER node
EXPOSE 8090
CMD ["node", "server/index.js"]