ar08 commited on
Commit
2eee4b2
·
verified ·
1 Parent(s): 76930e6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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", "7860", "--host", "0.0.0.0"]
 
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"]