File tree 3 files changed +76
-1
lines changed
3 files changed +76
-1
lines changed Original file line number Diff line number Diff line change
1
+ # Environment files
2
+ .env
3
+ .env. *
4
+ * .env
5
+
6
+ # Version control
7
+ .git
8
+ .gitignore
9
+ .svn
10
+ .hg
11
+
12
+ # Development files
13
+ node_modules
14
+ venv
15
+ __pycache__
16
+ * .pyc
17
+ * .pyo
18
+ * .pyd
19
+ .Python
20
+ .pytest_cache
21
+ .coverage
22
+ coverage
23
+ .tox
24
+
25
+ # IDE specific files
26
+ .idea
27
+ .vscode
28
+ * .swp
29
+ * .swo
30
+ .DS_Store
31
+
32
+ # Build and dist directories
33
+ dist
34
+ build
35
+ * .egg-info
36
+
37
+ # Log files
38
+ * .log
39
+ logs
40
+ npm-debug.log *
41
+
42
+ # Docker specific
43
+ Dockerfile
44
+ docker-compose * .yml
45
+ .docker
46
+
47
+ # Documentation
48
+ docs
49
+ README.md
50
+ CHANGELOG.md
51
+ LICENSE
52
+
53
+ # Test files
54
+ test
55
+ tests
Original file line number Diff line number Diff line change
1
+ # Use the official Node.js image as the base image
2
+ FROM node:22
3
+
4
+ # Set the working directory inside the container
5
+ WORKDIR /app
6
+
7
+ # Copy package.json and package-lock.json to the working directory
8
+ COPY prisma ./prisma package*.json ./
9
+
10
+ # Install dependencies
11
+ RUN npm install
12
+
13
+ # Copy the rest of the application code to the working directory
14
+ COPY . .
15
+
16
+ # Expose the port the app runs on
17
+ EXPOSE 3000
18
+
19
+ # Command to run the application
20
+ CMD ["npm" , "start" ]
Original file line number Diff line number Diff line change 5
5
"scripts" : {
6
6
"dev" : " next dev" ,
7
7
"build" : " npx prisma generate && next build" ,
8
- "start" : " next start" ,
8
+ "start" : " npm run build && next start" ,
9
9
"lint" : " next lint" ,
10
10
"postinstall" : " prisma generate"
11
11
},
You can’t perform that action at this time.
0 commit comments