Skip to content

Commit 99af5e5

Browse files
authored
fix: docker image optimazation #minor (#174)
1 parent 8a2ab79 commit 99af5e5

File tree

4 files changed

+63
-62
lines changed

4 files changed

+63
-62
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
# production
1717
/build
18+
/prod
1819

1920
# misc
2021
.DS_Store

next.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/** @type {import('next').NextConfig} */
2+
23
const nextConfig = {
34
output: "standalone",
45
};

package.json

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,62 @@
11
{
2-
"name": "not_byte",
3-
"version": "0.1.0",
4-
"private": true,
5-
"scripts": {
6-
"dev": "next dev",
7-
"build": "next build",
8-
"start": "next start",
9-
"lint": "next lint",
10-
"test": "npm test"
11-
},
12-
"dependencies": {
13-
"@radix-ui/react-dropdown-menu": "^2.0.6",
14-
"@ramonak/react-progress-bar": "^5.2.0",
15-
"@tailwindcss/aspect-ratio": "^0.4.2",
16-
"@tailwindcss/forms": "^0.5.7",
17-
"@tailwindcss/typography": "^0.5.10",
18-
"@tanstack/react-query": "^5.22.2",
19-
"@typescript-eslint/eslint-plugin": "^8.15.0",
20-
"@typescript-eslint/parser": "^8.15.0",
21-
"class-variance-authority": "^0.7.0",
22-
"daisyui": "^5.0.42",
23-
"date-fns": "^3.3.1",
24-
"eslint-plugin-react": "^7.37.2",
25-
"framer-motion": "^11.0.5",
26-
"lucide-react": "^0.460.0",
27-
"next": "^14.2.18",
28-
"next-themes": "^0.2.1",
29-
"nodemailer": "^6.9.13",
30-
"react": "^18",
31-
"react-dom": "^18",
32-
"react-hot-toast": "^2.4.1",
33-
"react-icons": "^5.0.1",
34-
"react-intersection-observer": "^9.8.1",
35-
"react-slick": "^0.30.2",
36-
"react-social-icons": "^6.14.0",
37-
"react-vertical-timeline-component": "^3.6.0",
38-
"sharp": "^0.34.1",
39-
"slick-carousel": "^1.8.1",
40-
"tailwind-merge": "^2.2.1",
41-
"zod": "^3.22.4"
42-
},
43-
"devDependencies": {
44-
"@testing-library/jest-dom": "^6.6.3",
45-
"@testing-library/react": "^16.1.0",
46-
"@testing-library/user-event": "^14.5.2",
47-
"@types/node": "^20",
48-
"@types/nodemailer": "^6.4.15",
49-
"@types/react": "^18",
50-
"@types/react-dom": "^18",
51-
"@types/react-slick": "^0.23.13",
52-
"@types/react-vertical-timeline-component": "^3.3.6",
53-
"autoprefixer": "^10.0.1",
54-
"eslint": "^8.57.1",
55-
"eslint-config-next": "^15.0.3",
56-
"jest": "^29.7.0",
57-
"jest-environment-jsdom": "^29.7.0",
58-
"postcss": "^8",
59-
"tailwindcss": "^3.3.0",
60-
"typescript": "^5"
61-
}
2+
"name": "notbyte-website",
3+
"version": "2.1.0",
4+
"private": true,
5+
"scripts": {
6+
"dev": "next dev",
7+
"build": "next build",
8+
"start": "next start",
9+
"lint": "next lint",
10+
"test": "npm test"
11+
},
12+
"dependencies": {
13+
"@radix-ui/react-dropdown-menu": "^2.0.6",
14+
"@ramonak/react-progress-bar": "^5.2.0",
15+
"@tailwindcss/aspect-ratio": "^0.4.2",
16+
"@tailwindcss/forms": "^0.5.7",
17+
"@tailwindcss/typography": "^0.5.10",
18+
"@tanstack/react-query": "^5.22.2",
19+
"@typescript-eslint/eslint-plugin": "^8.15.0",
20+
"@typescript-eslint/parser": "^8.15.0",
21+
"class-variance-authority": "^0.7.0",
22+
"daisyui": "^5.0.42",
23+
"date-fns": "^3.3.1",
24+
"eslint-plugin-react": "^7.37.2",
25+
"framer-motion": "^11.0.5",
26+
"lucide-react": "^0.460.0",
27+
"next": "^14.2.18",
28+
"next-themes": "^0.2.1",
29+
"nodemailer": "^6.9.13",
30+
"react": "^18",
31+
"react-dom": "^18",
32+
"react-hot-toast": "^2.4.1",
33+
"react-icons": "^5.0.1",
34+
"react-intersection-observer": "^9.8.1",
35+
"react-slick": "^0.30.2",
36+
"react-social-icons": "^6.14.0",
37+
"react-vertical-timeline-component": "^3.6.0",
38+
"sharp": "^0.34.1",
39+
"slick-carousel": "^1.8.1",
40+
"tailwind-merge": "^2.2.1",
41+
"zod": "^3.22.4"
42+
},
43+
"devDependencies": {
44+
"@testing-library/jest-dom": "^6.6.3",
45+
"@testing-library/react": "^16.1.0",
46+
"@testing-library/user-event": "^14.5.2",
47+
"@types/node": "^20",
48+
"@types/nodemailer": "^6.4.15",
49+
"@types/react": "^18",
50+
"@types/react-dom": "^18",
51+
"@types/react-slick": "^0.23.13",
52+
"@types/react-vertical-timeline-component": "^3.3.6",
53+
"autoprefixer": "^10.0.1",
54+
"eslint": "^8.57.1",
55+
"eslint-config-next": "^15.0.3",
56+
"jest": "^29.7.0",
57+
"jest-environment-jsdom": "^29.7.0",
58+
"postcss": "^8",
59+
"tailwindcss": "^3.3.0",
60+
"typescript": "^5"
61+
}
6262
}

src/app/profiles/[profileID]/page.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ import { SkillsSection } from "@/components/Pages/Profile/components/Skills";
99
import { SkillsSectionAnimationWrapper } from "@/components/Pages/Profile/components/Skills/AnimationWrapper";
1010
import { EducationSectionAnimationWrapper } from "@/components/Pages/Profile/components/Education/AnimationWrapper";
1111
import { EducationSection } from "@/components/Pages/Profile/components/Education";
12-
import { ProfileFallback } from "@/components/Pages/Profile/profileFallback";
13-
import {notFound} from "next/navigation";
12+
import { notFound } from "next/navigation";
1413

1514
interface Props {
1615
params: {

0 commit comments

Comments
 (0)