Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -13,6 +13,10 @@ COPY . /app
|
|
13 |
# Install any needed dependencies
|
14 |
RUN pip install --no-cache-dir -r requirements.txt
|
15 |
|
|
|
|
|
|
|
|
|
16 |
# Expose the port the app runs on
|
17 |
EXPOSE 8000
|
18 |
|
|
|
13 |
# Install any needed dependencies
|
14 |
RUN pip install --no-cache-dir -r requirements.txt
|
15 |
|
16 |
+
# Ensure proper permissions for the application
|
17 |
+
RUN chown -R root:root /app
|
18 |
+
RUN chmod -R 777 /app/logs
|
19 |
+
|
20 |
# Expose the port the app runs on
|
21 |
EXPOSE 8000
|
22 |
|