Spaces:
Runtime error
Runtime error
adityasugandhi
commited on
Commit
•
5feba59
1
Parent(s):
5434fd6
bug fix
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -4,6 +4,8 @@ FROM python:3.10
|
|
4 |
ENV VIRTUAL_ENV=/opt/venv
|
5 |
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
|
6 |
|
|
|
|
|
7 |
# Install system dependencies
|
8 |
RUN apt-get update && \
|
9 |
apt-get install -y --no-install-recommends \
|
@@ -23,7 +25,7 @@ COPY ./req.txt /app/req.txt
|
|
23 |
RUN /bin/bash -c "source $VIRTUAL_ENV/bin/activate && pip install --upgrade pip && pip install --no-cache-dir -r req.txt"
|
24 |
|
25 |
# Create directory within the /app directory
|
26 |
-
|
27 |
RUN chmod -R 777 /app
|
28 |
|
29 |
|
|
|
4 |
ENV VIRTUAL_ENV=/opt/venv
|
5 |
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
|
6 |
|
7 |
+
|
8 |
+
RUN mkdir .haystack
|
9 |
# Install system dependencies
|
10 |
RUN apt-get update && \
|
11 |
apt-get install -y --no-install-recommends \
|
|
|
25 |
RUN /bin/bash -c "source $VIRTUAL_ENV/bin/activate && pip install --upgrade pip && pip install --no-cache-dir -r req.txt"
|
26 |
|
27 |
# Create directory within the /app directory
|
28 |
+
|
29 |
RUN chmod -R 777 /app
|
30 |
|
31 |
|