Fix Docker build: copy root server.ts into build-env stage
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:
parent
c0503a91a6
commit
ac22ff3a12
1 changed files with 1 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ COPY server/ /app/server/
|
|||
COPY database/ /app/database/
|
||||
COPY public/ /app/public/
|
||||
COPY instrument.server.mjs ./
|
||||
COPY server.ts ./
|
||||
RUN npm run build
|
||||
|
||||
FROM node:20-alpine
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue