Darshan
commited on
Commit
·
f06efb1
1
Parent(s):
b2c0211
use different setup
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -41,7 +41,7 @@ RUN git clone https://github.com/AI4Bharat/NeMo.git && \
|
|
41 |
python3.10 -c "import nltk; nltk.download('punkt')"
|
42 |
|
43 |
# Copy application code
|
44 |
-
COPY
|
45 |
|
46 |
# Create directory for temporary files
|
47 |
RUN mkdir -p /tmp/audio_files
|
@@ -50,4 +50,4 @@ RUN mkdir -p /tmp/audio_files
|
|
50 |
EXPOSE 8000
|
51 |
|
52 |
# Command to run the application
|
53 |
-
CMD ["uvicorn", "
|
|
|
41 |
python3.10 -c "import nltk; nltk.download('punkt')"
|
42 |
|
43 |
# Copy application code
|
44 |
+
COPY app.py ./app.py
|
45 |
|
46 |
# Create directory for temporary files
|
47 |
RUN mkdir -p /tmp/audio_files
|
|
|
50 |
EXPOSE 8000
|
51 |
|
52 |
# Command to run the application
|
53 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
|