Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -4,6 +4,9 @@ FROM python:3.9-slim
|
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /usr/src/app
|
6 |
|
|
|
|
|
|
|
7 |
# Copy the script into the container at /usr/src/app
|
8 |
COPY script.sh .
|
9 |
|
|
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /usr/src/app
|
6 |
|
7 |
+
# Create the output directory and set appropriate permissions
|
8 |
+
RUN mkdir -p /usr/src/app && chmod -R 777 /usr/src/app
|
9 |
+
|
10 |
# Copy the script into the container at /usr/src/app
|
11 |
COPY script.sh .
|
12 |
|