3v324v23 commited on
Commit
d1c2864
·
1 Parent(s): b7d617c

Add application file

Browse files
Files changed (1) hide show
  1. 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