Fix Docker build: copy root server.ts into build-env stage
All checks were successful
🚀 Deploy / 🧪 Test (push) Successful in 2m28s
🚀 Deploy / ʦ🔍 Typecheck & Lint (push) Successful in 1m23s
🚀 Deploy / 🐳 Build (push) Successful in 2m38s
🚀 Deploy / 🚀 Deploy (push) Successful in 10s

The build:server script (esbuild) expects server.ts at the working
directory root, but the Dockerfile only copied the server/ directory.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Chris Parsons 2026-05-31 21:56:17 -07:00
parent c0503a91a6
commit ac22ff3a12

View file

@ -18,6 +18,7 @@ COPY server/ /app/server/
COPY database/ /app/database/ COPY database/ /app/database/
COPY public/ /app/public/ COPY public/ /app/public/
COPY instrument.server.mjs ./ COPY instrument.server.mjs ./
COPY server.ts ./
RUN npm run build RUN npm run build
FROM node:20-alpine FROM node:20-alpine