Imports the previously untracked working tree as-is so that the review changes that follow (requirements -> design -> implementation) can be reviewed as diffs and reverted if needed. No content changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
817 B
Docker
18 lines
817 B
Docker
FROM node:22.14.0-bookworm AS build
|
|
RUN apt-get update && apt-get install -y --no-install-recommends python3 make g++ libsecret-1-dev libx11-dev libxkbfile-dev libudev-dev && rm -rf /var/lib/apt/lists/*
|
|
WORKDIR /opt/wishforge-ide
|
|
ENV PUPPETEER_SKIP_DOWNLOAD=true
|
|
COPY package.json package-lock.json ./
|
|
COPY policy ./policy
|
|
COPY collaboration ./collaboration
|
|
COPY coordination ./coordination
|
|
COPY security ./security
|
|
RUN npm ci --no-audit --no-fund
|
|
COPY scripts ./scripts
|
|
COPY product.json ./product.json
|
|
RUN npm run plugins:download && npm run build:production && mkdir /workspace && chown -R node:node /workspace && chmod -R go-w /opt/wishforge-ide
|
|
USER node
|
|
ENV NODE_ENV=production WISHFORGE_IDE_HOST=0.0.0.0 WISHFORGE_IDE_PORT=4300 WISHFORGE_WORKSPACE_PATH=/workspace
|
|
EXPOSE 4300
|
|
CMD ["node", "scripts/start.mjs"]
|