Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -11
Dockerfile
CHANGED
@@ -14,18 +14,8 @@ RUN pip install cython numpy
|
|
14 |
# Install Hugging Face transformers and datasets
|
15 |
RUN pip install transformers datasets
|
16 |
|
17 |
-
# Create necessary directories with appropriate permissions
|
18 |
-
RUN mkdir -p /app/.files /app/.chainlit && \
|
19 |
-
chmod -R 777 /app/.files /app/.chainlit
|
20 |
-
|
21 |
-
# Set environment variable to specify the files directory
|
22 |
-
ENV FILES_DIRECTORY=/app/.files
|
23 |
-
|
24 |
# Copy the application code
|
25 |
-
COPY .
|
26 |
-
|
27 |
-
# Set the working directory
|
28 |
-
WORKDIR /app
|
29 |
|
30 |
# Install application dependencies
|
31 |
RUN pip install -r requirements.txt
|
|
|
14 |
# Install Hugging Face transformers and datasets
|
15 |
RUN pip install transformers datasets
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
# Copy the application code
|
18 |
+
COPY . .
|
|
|
|
|
|
|
19 |
|
20 |
# Install application dependencies
|
21 |
RUN pip install -r requirements.txt
|