Files
amnezia_web/Dockerfile
Андрей Бобырев 9d54c7c8b8 feat(community): optional PRO install via GitHub token in UI
- POST /api/community/run-private-install fetches private install.sh and runs bash detached (202 Accepted)
- Gated by ALLOW_COMMUNITY_GITHUB_ACTIVATION + AMNEZIA_EDITION=community + admin session
- Log appended to /data/community-install-last.log; install bash bundled in Dockerfile

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-15 00:50:21 +03:00

21 lines
313 B
Docker

FROM node:22-alpine
RUN apk add --no-cache docker-cli bash openssh-client sshpass
RUN mkdir -p /data && chmod 700 /data
WORKDIR /app
COPY package.json ./
RUN npm install --omit=dev
COPY server.js ./server.js
COPY public ./public
ENV NODE_ENV=production
ENV PORT=3980
EXPOSE 3980
CMD ["node", "server.js"]