Openstatus www.openstatus.dev
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: Use bun compile for the api server #974 (#975)

* fix Styling issue with copy to clipboard button on single code lines [CSS] #947

* make right-2 #947

* refactor: add rehype-pretty-code dark mode support #930

* ci: apply automated fixes

* chore: Use bun compile for the api server #974

* chore: Update Dockerfile to use correct source directory for bun build

* chore: Update Dockerfile to use correct source directory for bun build

* chore: Update Dockerfile to use correct source directory for bun build

* chore: Update Dockerfile to use correct source directory for bun build

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

authored by

Ratnadeep
autofix-ci[bot]
and committed by
GitHub
9960e058 6f3ef73a

+5 -5
+5 -5
apps/server/Dockerfile
··· 11 11 RUN rm -rf /app/apps/web 12 12 RUN rm -rf /app/packages/api 13 13 RUN rm -rf /app/packages/integrations/vercel 14 - 15 14 # Temp solution for bun 16 15 RUN bun install --ignore-scripts 17 - 18 - EXPOSE 3000 19 - 20 16 WORKDIR /app/apps/server 21 17 22 - CMD ["bun", "start"] 18 + # Compile the TypeScript application 19 + RUN bun build --compile --sourcemap src/index.ts --outfile=app 20 + 21 + EXPOSE 3000 22 + CMD ["./app"]