Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
# Use an official Python runtime as a parent image
|
2 |
FROM python:3.9-slim
|
3 |
|
|
|
|
|
|
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
6 |
|
|
|
1 |
# Use an official Python runtime as a parent image
|
2 |
FROM python:3.9-slim
|
3 |
|
4 |
+
# Create the logs directory with appropriate permissions
|
5 |
+
RUN mkdir -p /app/logs && chmod -R 777 /app/logs
|
6 |
+
|
7 |
# Set the working directory in the container
|
8 |
WORKDIR /app
|
9 |
|