Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -7,8 +7,8 @@ RUN mkdir /.cache && chmod 777 /.cache
|
|
7 |
ENV TRANSFORMERS_CACHE=/.cache
|
8 |
ENV HF_HOME=/.cache
|
9 |
# Optional: Set default values for API configuration
|
10 |
-
ENV AIBOM_USE_INFERENCE=true
|
11 |
-
ENV AIBOM_CACHE_DIR=/.cache
|
12 |
|
13 |
# Install dependencies
|
14 |
COPY requirements.txt .
|
@@ -18,7 +18,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
18 |
COPY . /app
|
19 |
|
20 |
# Creates a directory called "output" inside application directory, sets permissions so that the application can write files to this directory
|
21 |
-
RUN mkdir -p /app/output && chmod 777 /app/output
|
22 |
|
23 |
# Install the package in development mode
|
24 |
RUN pip install -e .
|
|
|
7 |
ENV TRANSFORMERS_CACHE=/.cache
|
8 |
ENV HF_HOME=/.cache
|
9 |
# Optional: Set default values for API configuration
|
10 |
+
# ENV AIBOM_USE_INFERENCE=true
|
11 |
+
# ENV AIBOM_CACHE_DIR=/.cache
|
12 |
|
13 |
# Install dependencies
|
14 |
COPY requirements.txt .
|
|
|
18 |
COPY . /app
|
19 |
|
20 |
# Creates a directory called "output" inside application directory, sets permissions so that the application can write files to this directory
|
21 |
+
# RUN mkdir -p /app/output && chmod 777 /app/output
|
22 |
|
23 |
# Install the package in development mode
|
24 |
RUN pip install -e .
|