Skip to content
This repository has been archived by the owner on Nov 10, 2024. It is now read-only.

Commit

Permalink
fix: docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Eveeifyeve committed Jul 5, 2024
1 parent 7c11786 commit 8e8cd50
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 16 deletions.
Binary file modified bun.lockb
Binary file not shown.
20 changes: 7 additions & 13 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
FROM oven/bun


COPY . /app
FROM node:lts AS build
WORKDIR /app
COPY . .
RUN corepack enable pnpm
RUN pnpm install
RUN pnpm run build


RUN bun install
RUN bun astro telemetry disable

RUN bun run build

EXPOSE 4321

CMD [ "bun run preview" ]
EXPOSE 8080
CMD [ "pnpm", "preview" ]
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"release": "standard-version"
},
"dependencies": {
"@astrojs/starlight": "^0.21.2",
"@astrojs/starlight": "^0.21.5",
"@astrojs/starlight-tailwind": "^2.0.3",
"@astrojs/tailwind": "^5.1.0",
"astro": "^4.5.9",
"sass": "^1.69.5",
"astro": "^4.11.5",
"sass": "^1.77.6",
"sharp": "^0.32.6",
"starlight": "^0.3.9",
"tailwindcss": "^3.4.4"
Expand Down

0 comments on commit 8e8cd50

Please sign in to comment.