Nikolay Angelov commited on
Commit
50ba800
·
1 Parent(s): 7599e69

move to port 8000

Browse files
Files changed (5) hide show
  1. Dockerfile +1 -1
  2. README.md +3 -4
  3. docker-compose.yml +1 -1
  4. frontend/package.json +1 -1
  5. main.py +1 -1
Dockerfile CHANGED
@@ -38,6 +38,6 @@ RUN npm install && npm run build
38
  WORKDIR /app
39
 
40
  # Expose port (used by FastAPI)
41
- EXPOSE 7860
42
 
43
  CMD ["python", "main.py"]
 
38
  WORKDIR /app
39
 
40
  # Expose port (used by FastAPI)
41
+ EXPOSE 8000
42
 
43
  CMD ["python", "main.py"]
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🧑‍💼
4
  colorFrom: blue
5
  colorTo: indigo
6
  sdk: docker
7
- app_port: 7860
8
  python_version: 3.12.3
9
  short_description: "AI career coach powered by Llama-3.3-70B"
10
  tags:
@@ -128,9 +128,8 @@ uvicorn main:app
128
  ```
129
 
130
  The application will be available at:
131
- - Web Interface: http://localhost:7860
132
- - API Documentation: http://localhost:7860/docs
133
- - Alternative API Documentation: http://localhost:7860/redoc
134
 
135
  ## API Endpoints
136
 
 
4
  colorFrom: blue
5
  colorTo: indigo
6
  sdk: docker
7
+ app_port: 8000
8
  python_version: 3.12.3
9
  short_description: "AI career coach powered by Llama-3.3-70B"
10
  tags:
 
128
  ```
129
 
130
  The application will be available at:
131
+ - Web Interface: http://localhost:8000
132
+ - API Documentation: http://localhost:8000/docs
 
133
 
134
  ## API Endpoints
135
 
docker-compose.yml CHANGED
@@ -4,7 +4,7 @@ services:
4
  context: .
5
  dockerfile: Dockerfile
6
  ports:
7
- - "7860:7860"
8
  environment:
9
  - HUGGINGFACEHUB_API_TOKEN=${HUGGINGFACEHUB_API_TOKEN}
10
  - SERPAPI_API_KEY=${SERPAPI_API_KEY}
 
4
  context: .
5
  dockerfile: Dockerfile
6
  ports:
7
+ - "8000:8000"
8
  environment:
9
  - HUGGINGFACEHUB_API_TOKEN=${HUGGINGFACEHUB_API_TOKEN}
10
  - SERPAPI_API_KEY=${SERPAPI_API_KEY}
frontend/package.json CHANGED
@@ -38,7 +38,7 @@
38
  "last 1 safari version"
39
  ]
40
  },
41
- "proxy": "http://localhost:7860",
42
  "devDependencies": {
43
  "@types/react": "^18.2.66",
44
  "@types/react-dom": "^18.2.22",
 
38
  "last 1 safari version"
39
  ]
40
  },
41
+ "proxy": "http://localhost:8000",
42
  "devDependencies": {
43
  "@types/react": "^18.2.66",
44
  "@types/react-dom": "^18.2.22",
main.py CHANGED
@@ -12,7 +12,7 @@ def main():
12
  """
13
  Run the FastAPI server with integrated React UI
14
  """
15
- port = 7860
16
  host = "0.0.0.0"
17
 
18
  logging.info(f"Starting server on {host}:{port}...")
 
12
  """
13
  Run the FastAPI server with integrated React UI
14
  """
15
+ port = 8000
16
  host = "0.0.0.0"
17
 
18
  logging.info(f"Starting server on {host}:{port}...")