RaghavanB commited on
Commit
996da02
·
1 Parent(s): 0a5e571

Added Docker file for the project

Browse files
Files changed (3) hide show
  1. .dockerignore +1 -0
  2. Dockerfile +13 -0
  3. app.py +1 -1
.dockerignore CHANGED
@@ -1,6 +1,7 @@
1
  # Ignore virtual environments
2
  .venv/
3
  venv/
 
4
 
5
  # Python cache
6
  __pycache__/
 
1
  # Ignore virtual environments
2
  .venv/
3
  venv/
4
+ docvenv/
5
 
6
  # Python cache
7
  __pycache__/
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ WORKDIR /app
4
+
5
+ COPY requirements.txt .
6
+
7
+ RUN pip install --no-cache-dir -r requirements.txt
8
+
9
+ COPY . .
10
+
11
+ EXPOSE 5550
12
+
13
+ CMD ["python", "app.py"]
app.py CHANGED
@@ -27,5 +27,5 @@ demo = gr.Interface(
27
  description="Get a recommended tech stack based on your project and team!"
28
  )
29
 
30
- demo.launch(server_name="0.0.0.0", server_port=7860)
31
 
 
27
  description="Get a recommended tech stack based on your project and team!"
28
  )
29
 
30
+ demo.launch(server_name="0.0.0.0", server_port=5550)
31