-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: migrated from node to bun + created a docker image for the app
- Loading branch information
1 parent
aa59f6a
commit 9b561ea
Showing
11 changed files
with
68 additions
and
6,557 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# dependencies | ||
/node_modules | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
next-env.d.ts | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
|
||
# local env files | ||
.env | ||
.env*.local | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
|
||
# site map | ||
public/sitemap.xml | ||
public/robots.txt | ||
|
||
# prettier | ||
prettier.config.js | ||
|
||
# docker | ||
Dockerfile* | ||
.dockerignore | ||
|
||
# git | ||
.git | ||
.gitignore | ||
|
||
# docs | ||
README.md |
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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM oven/bun:1 | ||
|
||
WORKDIR /app | ||
|
||
COPY package.json bun.lockb ./ | ||
|
||
RUN bun install --frozen-lockfile --production | ||
|
||
COPY . . | ||
|
||
RUN bun run build | ||
|
||
EXPOSE 3000 | ||
|
||
ENTRYPOINT [ "bun", "start" ] |
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
Oops, something went wrong.