Commit
Β·
7824912
1
Parent(s):
83e5626
add creation of dir 2
Browse files- Dockerfile +1 -1
- src/config.py +1 -0
Dockerfile
CHANGED
@@ -20,7 +20,7 @@ COPY src/ ./src/
|
|
20 |
RUN chmod +x setup.sh && ./setup.sh
|
21 |
|
22 |
# make the files
|
23 |
-
RUN mkdir -p /app/
|
24 |
|
25 |
# Install Python dependencies
|
26 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
20 |
RUN chmod +x setup.sh && ./setup.sh
|
21 |
|
22 |
# make the files
|
23 |
+
RUN mkdir -p /app/temp_hf_downloads && chmod 777 /app/temp_hf_downloads
|
24 |
|
25 |
# Install Python dependencies
|
26 |
RUN pip install --no-cache-dir -r requirements.txt
|
src/config.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
import os
|
3 |
|
4 |
EVAL_SCRIPT_PATH = "src/eval.py"
|
|
|
5 |
LOCAL_TEMP_SUBMISSIONS_DIR = "temp_submissions_app"
|
6 |
|
7 |
# Hugging Face Dataset Configuration
|
|
|
2 |
import os
|
3 |
|
4 |
EVAL_SCRIPT_PATH = "src/eval.py"
|
5 |
+
|
6 |
LOCAL_TEMP_SUBMISSIONS_DIR = "temp_submissions_app"
|
7 |
|
8 |
# Hugging Face Dataset Configuration
|