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

chore(repo): migrate to bun #36

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
6a68d10
feat(i18n): add Turkish locale
mrcnk Sep 7, 2023
fa51320
Merge branch 'main' into feat/add-turkish-locale
mrcnk Sep 7, 2023
8f8d90b
feat(i18n): update Turkish locale
mrcnk Sep 7, 2023
815ecf1
feat(i18n): update Turkish locale
mrcnk Sep 8, 2023
65dbfad
Merge pull request #34 from palladians/feat/add-turkish-locale
mrcnk Sep 8, 2023
24ba68d
chore(repo): migrate to bun
mrcnk Sep 8, 2023
d0ab4a3
fix(bun): try installing browsers with npx
mrcnk Sep 8, 2023
6d49d77
chore(bun): set nixpack to bun 1.0
mrcnk Sep 10, 2023
5b1f5b8
chore(bun): replace nixpack config with dockerfile
mrcnk Sep 10, 2023
9553fc1
chore(bun): fix docker image naming
mrcnk Sep 10, 2023
e25efe4
chore(bun): update image
mrcnk Sep 10, 2023
f9fde5f
chore(bun): adjust build
mrcnk Sep 10, 2023
7ddca38
chore(bun): lets just try this lol
mrcnk Sep 10, 2023
840d82a
chore(bun): add .env copying
mrcnk Sep 10, 2023
f2c6382
chore(bun): revert to nixpacks config
mrcnk Sep 10, 2023
010509c
chore(bun): adjust nixpacks setup phase
mrcnk Sep 10, 2023
349b1cc
chore(bun): remove package manager entry for corepack issues
mrcnk Sep 10, 2023
8575fa9
chore(bun): add types
mrcnk Sep 12, 2023
157dd89
feat(sitemap): add simple sitemap
mrcnk Sep 12, 2023
0c54191
feat(sitemap): change runtime
mrcnk Sep 12, 2023
2516b97
Merge pull request #38 from palladians/feat/add-sitemap
mrcnk Sep 13, 2023
5f7a699
chore(repo): trigger deploy
mrcnk Sep 13, 2023
25a1dda
chore(repo): add meta keywords
mrcnk Sep 13, 2023
4f94fcd
feat(app): add ukrainian locale
mrcnk Sep 14, 2023
2041528
Merge pull request #39 from palladians/feat/add-ukrainian-locale
mrcnk Sep 15, 2023
f591dec
Merge branch 'main' into chore/switch-to-bun
mrcnk Sep 16, 2023
851dabd
chore(bun): remove nixpacks config
mrcnk Sep 16, 2023
3a99ab9
chore(bun): trigger build
mrcnk Sep 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore(bun): lets just try this lol
  • Loading branch information
mrcnk committed Sep 10, 2023
commit 7ddca383e478b38ab37cfd21df333b9229d715eb
11 changes: 9 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
FROM oven/bun:1.0 AS base

RUN apt-get update \
&& apt-get install -y \
git \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Install dependencies only when needed
FROM base AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
WORKDIR /app

# Install dependencies based on the preferred package manager
COPY package.json bun.lockb ./
COPY package.json .
COPY bun.lockb .
RUN bun install


Expand Down Expand Up @@ -45,7 +52,7 @@ RUN chown bun:bun .next
COPY --from=builder --chown=bun:bun /app/.next/standalone ./
COPY --from=builder --chown=bun:bun /app/.next/static ./.next/static

USER nextjs
USER bun

EXPOSE 3000

Expand Down
Loading