Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -20,6 +20,9 @@ ENV HOME=/home/user \
|
|
| 20 |
# Set the working directory to the user's home directory
|
| 21 |
WORKDIR $HOME/app
|
| 22 |
|
|
|
|
|
|
|
|
|
|
| 23 |
# Copy and install Python dependencies
|
| 24 |
COPY requirements.txt $HOME/app/
|
| 25 |
RUN pip install --no-cache-dir -r requirements.txt && pip install --upgrade pip
|
|
|
|
| 20 |
# Set the working directory to the user's home directory
|
| 21 |
WORKDIR $HOME/app
|
| 22 |
|
| 23 |
+
# Create the files directory
|
| 24 |
+
RUN mkdir -p $HOME/app/files
|
| 25 |
+
|
| 26 |
# Copy and install Python dependencies
|
| 27 |
COPY requirements.txt $HOME/app/
|
| 28 |
RUN pip install --no-cache-dir -r requirements.txt && pip install --upgrade pip
|