Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -10,6 +10,9 @@ RUN apt-get update && apt-get install -y git \
|
|
10 |
# Clone the repository into a subdirectory
|
11 |
RUN git clone https://github.com/weaviate/Verba.git /Verba/Verba
|
12 |
|
|
|
|
|
|
|
13 |
# Change to the cloned directory and install the package
|
14 |
WORKDIR /Verba/Verba
|
15 |
RUN pip install -e .
|
@@ -18,4 +21,4 @@ RUN pip install -e .
|
|
18 |
EXPOSE 8000
|
19 |
|
20 |
# Define the command to run the application
|
21 |
-
CMD ["verba", "start", "--port", "
|
|
|
10 |
# Clone the repository into a subdirectory
|
11 |
RUN git clone https://github.com/weaviate/Verba.git /Verba/Verba
|
12 |
|
13 |
+
# Set environment variable for cache directory
|
14 |
+
ENV CACHE_DIR=/Verba/.cache
|
15 |
+
|
16 |
# Change to the cloned directory and install the package
|
17 |
WORKDIR /Verba/Verba
|
18 |
RUN pip install -e .
|
|
|
21 |
EXPOSE 8000
|
22 |
|
23 |
# Define the command to run the application
|
24 |
+
CMD ["verba", "start", "--port", "8000", "--host", "0.0.0.0"]
|