Skip to content

Commit

Permalink
website-deployment: Change to bun to pin primate to version specified…
Browse files Browse the repository at this point in the history
… in package.json (#151)
  • Loading branch information
phaleth authored Aug 5, 2024
1 parent 0a519a9 commit f1ccba5
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions packages/website/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
FROM denoland/deno:alpine
FROM oven/bun:1-alpine

COPY ./packages/website /app/website
COPY ./docs /app/website/components/content
WORKDIR /app

WORKDIR /app/website
COPY ./packages/website .
COPY ./docs ./components/content

CMD ["deno", "run", "--allow-all", "npm:primate", "serve"]
RUN bun i

CMD ["bun", "--bun", "x", "primate", "serve"]

0 comments on commit f1ccba5

Please sign in to comment.