Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -20,6 +20,8 @@ RUN echo "network.host: localhost" >> /usr/share/elasticsearch/config/elasticsea
|
|
20 |
# Copy code
|
21 |
COPY . .
|
22 |
|
|
|
|
|
23 |
|
24 |
# Run Elasticsearch and application
|
25 |
CMD ["/bin/bash", "-c", "/usr/share/elasticsearch/bin/elasticsearch & $(which uvicorn) app:app --host 0.0.0.0 --port 7860"]
|
|
|
20 |
# Copy code
|
21 |
COPY . .
|
22 |
|
23 |
+
RUN which uvicorn
|
24 |
+
|
25 |
|
26 |
# Run Elasticsearch and application
|
27 |
CMD ["/bin/bash", "-c", "/usr/share/elasticsearch/bin/elasticsearch & $(which uvicorn) app:app --host 0.0.0.0 --port 7860"]
|