Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -14,6 +14,9 @@ RUN apt-get update && apt-get install -y \
|
|
14 |
&& apt-get install -y python3-pip \
|
15 |
&& rm -rf /var/lib/apt/lists/*
|
16 |
|
|
|
|
|
|
|
17 |
# Copy the requirements file
|
18 |
COPY ./requirements.txt /app/requirements.txt
|
19 |
|
|
|
14 |
&& apt-get install -y python3-pip \
|
15 |
&& rm -rf /var/lib/apt/lists/*
|
16 |
|
17 |
+
# Create uploads directory and set permissions
|
18 |
+
RUN mkdir -p /app/uploads && chmod -R 777 /app/uploads
|
19 |
+
|
20 |
# Copy the requirements file
|
21 |
COPY ./requirements.txt /app/requirements.txt
|
22 |
|