Spaces:
Running
Running
Commit ·
b968577
1
Parent(s): 3ce0073
:wrench: attempting to port to dockerfile
Browse files- Dockerfile +17 -0
- README.md +2 -2
Dockerfile
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Use your chosen base image
|
| 2 |
+
FROM python:3.13
|
| 3 |
+
|
| 4 |
+
# Command to upgrade pip
|
| 5 |
+
RUN pip install --upgrade pip
|
| 6 |
+
|
| 7 |
+
# Copy your application code into the container
|
| 8 |
+
COPY . /app
|
| 9 |
+
|
| 10 |
+
# Set the working directory
|
| 11 |
+
WORKDIR /app
|
| 12 |
+
|
| 13 |
+
# (Optional) Install your application dependencies
|
| 14 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
+
|
| 16 |
+
# Define the command to run your application when the Space starts
|
| 17 |
+
CMD ["python", "groq-voicechat-demo.py"]
|
README.md
CHANGED
|
@@ -3,8 +3,8 @@ title: Groq Voicechat Demo
|
|
| 3 |
emoji: 💻
|
| 4 |
colorFrom: indigo
|
| 5 |
colorTo: pink
|
| 6 |
-
sdk:
|
| 7 |
-
|
| 8 |
app_file: groq-voicechat-demo.py
|
| 9 |
pinned: false
|
| 10 |
license: gpl-3.0
|
|
|
|
| 3 |
emoji: 💻
|
| 4 |
colorFrom: indigo
|
| 5 |
colorTo: pink
|
| 6 |
+
sdk: docker
|
| 7 |
+
base_image: python:3.13
|
| 8 |
app_file: groq-voicechat-demo.py
|
| 9 |
pinned: false
|
| 10 |
license: gpl-3.0
|