Spaces:
Runtime error
Runtime error
Add application file
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
FROM python:3.11
|
2 |
WORKDIR /code
|
3 |
|
|
|
|
|
|
|
4 |
# Copy the requirements file and install dependencies
|
5 |
COPY ./requirements.txt /code/requirements.txt
|
6 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
1 |
FROM python:3.11
|
2 |
WORKDIR /code
|
3 |
|
4 |
+
# Create necessary directories with correct permissions
|
5 |
+
RUN mkdir -p /.cache && chmod 777 /.cache
|
6 |
+
|
7 |
# Copy the requirements file and install dependencies
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|