Spaces:
Runtime error
Runtime error
uripper
commited on
Commit
·
aebd58c
1
Parent(s):
f490dc1
permissions
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
@@ -4,6 +4,11 @@ FROM python:3.11
|
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
6 |
|
|
|
|
|
|
|
|
|
|
|
7 |
# Copy the current directory contents into the container at /app
|
8 |
COPY . /app
|
9 |
|
|
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
6 |
|
7 |
+
# Create directories and set permissions
|
8 |
+
RUN mkdir -p /app/models /app/data && \
|
9 |
+
chmod -R 777 /app/models /app/data
|
10 |
+
|
11 |
+
|
12 |
# Copy the current directory contents into the container at /app
|
13 |
COPY . /app
|
14 |
|