Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -4,10 +4,13 @@ FROM python:3.11-slim
|
|
4 |
# Set working directory
|
5 |
WORKDIR /
|
6 |
|
|
|
|
|
7 |
# Copy requirements and install dependencies
|
8 |
COPY requirements.txt .
|
9 |
RUN pip install --no-cache-dir -r requirements.txt
|
10 |
|
|
|
11 |
# Copy the server code
|
12 |
COPY . .
|
13 |
|
|
|
4 |
# Set working directory
|
5 |
WORKDIR /
|
6 |
|
7 |
+
RUN mkdir models && chmod 777 models/
|
8 |
+
|
9 |
# Copy requirements and install dependencies
|
10 |
COPY requirements.txt .
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
13 |
+
|
14 |
# Copy the server code
|
15 |
COPY . .
|
16 |
|