Delete Dockerfile
Browse files- Dockerfile +0 -24
Dockerfile
DELETED
|
@@ -1,24 +0,0 @@
|
|
| 1 |
-
FROM python:3.11
|
| 2 |
-
|
| 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 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 .
|
| 19 |
-
|
| 20 |
-
# Expose the port
|
| 21 |
-
EXPOSE 8000
|
| 22 |
-
|
| 23 |
-
# Define the command to run the application
|
| 24 |
-
CMD ["verba", "start", "--port", "7860", "--host", "0.0.0.0"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|