Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# Use a base image with Python
|
2 |
-
FROM python:3.
|
3 |
|
4 |
# Install system dependencies
|
5 |
RUN apt-get update && \
|
@@ -15,8 +15,8 @@ RUN pip install cython numpy
|
|
15 |
RUN pip install transformers datasets
|
16 |
|
17 |
# Create necessary directories with appropriate permissions
|
18 |
-
RUN mkdir -p /app/.files && \
|
19 |
-
chmod -R 777 /app/.files
|
20 |
|
21 |
# Set environment variable to specify the files directory
|
22 |
ENV FILES_DIRECTORY=/app/.files
|
|
|
1 |
# Use a base image with Python
|
2 |
+
FROM python:3.10-slim
|
3 |
|
4 |
# Install system dependencies
|
5 |
RUN apt-get update && \
|
|
|
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
|