Spaces:
Runtime error
Runtime error
uripper
commited on
Commit
·
037f7bb
1
Parent(s):
83c72ef
- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -4,6 +4,10 @@ FROM python:3.11
|
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
6 |
|
|
|
|
|
|
|
|
|
7 |
|
8 |
# Copy the current directory contents into the container at /app
|
9 |
COPY . /app
|
|
|
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
|