TDN-M commited on
Commit
e018465
·
verified ·
1 Parent(s): 39a05a8

Upload 2 files

Browse files
Files changed (2) hide show
  1. Dockerfile.txt +18 -0
  2. package (2).json +15 -0
Dockerfile.txt ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the official Node.js image
2
+ FROM node:18
3
+
4
+ # Set working directory
5
+ WORKDIR /app
6
+
7
+ # Copy package.json and install dependencies
8
+ COPY package.json .
9
+ RUN npm install
10
+
11
+ # Copy the rest of the application
12
+ COPY . .
13
+
14
+ # Expose the port the app runs on
15
+ EXPOSE 8000
16
+
17
+ # Start the application
18
+ CMD ["npm", "start"]
package (2).json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "marketing-content-generator",
3
+ "version": "1.0.0",
4
+ "description": "AI-powered marketing content generator using Groq API",
5
+ "main": "server.js",
6
+ "scripts": {
7
+ "start": "node server.js"
8
+ },
9
+ "dependencies": {
10
+ "express": "^4.18.2",
11
+ "axios": "^1.7.2",
12
+ "cors": "^2.8.5",
13
+ "dotenv": "^16.4.5"
14
+ }
15
+ }