Skip to content

Commit

Permalink
Copy instrumentation from build to app.
Browse files Browse the repository at this point in the history
  • Loading branch information
busykoala committed Dec 12, 2023
1 parent 596486a commit 4d5499b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ RUN npm run build
FROM node:18-slim
WORKDIR /home/nodejs/app
COPY --from=build /usr/src/app/dist/app.js ./dist/app.js
COPY --from=build /usr/src/app/dist/instrumentation.js ./dist/instrumentation.js
COPY --from=build /usr/src/app/package*.json ./
COPY --from=build /usr/src/app/public ./public
RUN npm install --only=production
Expand Down

0 comments on commit 4d5499b

Please sign in to comment.