Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
@@ -3,6 +3,10 @@ FROM python:3.11
|
|
3 |
# Set the working directory
|
4 |
WORKDIR /Verba
|
5 |
|
|
|
|
|
|
|
|
|
6 |
# Clone the repository
|
7 |
RUN git clone https://github.com/weaviate/Verba.git .
|
8 |
|
@@ -13,4 +17,4 @@ RUN pip install -e .
|
|
13 |
EXPOSE 8000
|
14 |
|
15 |
# Define the command to run the application
|
16 |
-
CMD ["verba", "start", "--port", "
|
|
|
3 |
# Set the working directory
|
4 |
WORKDIR /Verba
|
5 |
|
6 |
+
# Install git and create necessary directories with appropriate permissions
|
7 |
+
RUN apt-get update && apt-get install -y git \
|
8 |
+
&& mkdir -p /Verba/.cache && chmod -R 777 /Verba/.cache
|
9 |
+
|
10 |
# Clone the repository
|
11 |
RUN git clone https://github.com/weaviate/Verba.git .
|
12 |
|
|
|
17 |
EXPOSE 8000
|
18 |
|
19 |
# Define the command to run the application
|
20 |
+
CMD ["verba", "start", "--port", "8000", "--host", "0.0.0.0"]
|