Last active
July 7, 2024 04:33
-
-
Save jukbot/289784bdea2909463249a9ef82371f32 to your computer and use it in GitHub Desktop.
Revisions
-
jukbot revised this gist
Jul 7, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ WORKDIR /app ADD package.json bun.lockb ./ RUN bun install --frozen-lockfile ADD . . RUN bun run build FROM oven/bun:1-alpine WORKDIR /app -
jukbot created this gist
Jul 5, 2024 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ FROM oven/bun:latest AS build-stage WORKDIR /app ADD package.json bun.lockb ./ RUN bun install --frozen-lockfile ADD . . RUN bun run build-only FROM oven/bun:1-alpine WORKDIR /app ENV NODE_ENV=production COPY --from=build-stage /app/dist ./dist ADD elysia.ts ./ CMD ["bun", "run", "/app/elysia.ts"] EXPOSE 3000