Skip to content

Commit f89df58

Browse files
authored
🛠 chore: Copy src/server to Runtime Image for Metrics Module (#31)
server.ts imports ./src/server/metrics at runtime (not compiled into dist/), so the source file must be present in the Docker image.
1 parent a3a17dd commit f89df58

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ ENV NODE_ENV=production
3030

3131
COPY --from=prod-deps /app/node_modules node_modules
3232
COPY --from=build /app/dist dist
33+
COPY --from=build /app/src/server src/server
3334
COPY server.ts package.json ./
3435

3536
RUN chown -R bun:bun /app

0 commit comments

Comments
 (0)