Spaces:
Runtime error
Runtime error
Darshan
commited on
Commit
·
a01eec5
1
Parent(s):
fdf3e46
use different setup
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -40,7 +40,7 @@ RUN git clone https://github.com/AI4Bharat/NeMo.git && \
|
|
| 40 |
pip install -e .
|
| 41 |
|
| 42 |
# Copy application code
|
| 43 |
-
COPY
|
| 44 |
|
| 45 |
# Create directory for temporary files
|
| 46 |
RUN mkdir -p /tmp/audio_files
|
|
@@ -49,4 +49,4 @@ RUN mkdir -p /tmp/audio_files
|
|
| 49 |
EXPOSE 8000
|
| 50 |
|
| 51 |
# Command to run the application
|
| 52 |
-
CMD ["uvicorn", "
|
|
|
|
| 40 |
pip install -e .
|
| 41 |
|
| 42 |
# Copy application code
|
| 43 |
+
COPY app.py .
|
| 44 |
|
| 45 |
# Create directory for temporary files
|
| 46 |
RUN mkdir -p /tmp/audio_files
|
|
|
|
| 49 |
EXPOSE 8000
|
| 50 |
|
| 51 |
# Command to run the application
|
| 52 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
|