This repository has been archived by the owner on Nov 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7c11786
commit 8e8cd50
Showing
3 changed files
with
10 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters