Spaces:
Sleeping
Sleeping
jocko
commited on
Commit
·
2167b55
1
Parent(s):
f36502c
fix image similarity detection
Browse files- Dockerfile +7 -2
Dockerfile
CHANGED
@@ -12,9 +12,14 @@ RUN apt-get update && apt-get install -y \
|
|
12 |
COPY requirements.txt ./
|
13 |
COPY src/ ./src/
|
14 |
|
15 |
-
|
|
|
|
|
16 |
|
17 |
-
|
|
|
|
|
|
|
18 |
|
19 |
RUN pip3 install -r requirements.txt
|
20 |
|
|
|
12 |
COPY requirements.txt ./
|
13 |
COPY src/ ./src/
|
14 |
|
15 |
+
ENV STREAMLIT_CONFIG_DIR=/tmp/.streamlit
|
16 |
+
ENV STREAMLIT_CACHE_DIR=/tmp/streamlit_cache
|
17 |
+
ENV STREAMLIT_STATIC_DIR=/tmp/streamlit_static
|
18 |
|
19 |
+
RUN mkdir -p /tmp/.streamlit /tmp/streamlit_cache /tmp/streamlit_static
|
20 |
+
RUN chmod -R 777 /tmp/.streamlit /tmp/streamlit_cache /tmp/streamlit_static
|
21 |
+
|
22 |
+
COPY .streamlit/ /tmp/.streamlit/
|
23 |
|
24 |
RUN pip3 install -r requirements.txt
|
25 |
|