samvish commited on
Commit
ecff570
·
verified ·
1 Parent(s): c3cdd13

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -3
Dockerfile CHANGED
@@ -5,8 +5,6 @@ WORKDIR /code
5
 
6
  ENV PYTHONDONTWRITEBYTECODE 1
7
  ENV PYTHONUNBUFFERED 1
8
- # Keep cache directory in /tmp as it's guaranteed writable
9
- ENV COMPOSIO_CACHE_DIR=/tmp/.composio
10
 
11
  COPY requirements.txt .
12
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
@@ -15,7 +13,6 @@ COPY . /code
15
  # ---> ADD THIS LINE <---
16
  # Grant write permissions to the current user for the /code directory
17
  # This allows creating files like '.composio.lock' if needed in the WORKDIR
18
- RUN chmod -R u+w /code
19
  # ---> END OF ADDED LINE <---
20
 
21
  EXPOSE 7860
 
5
 
6
  ENV PYTHONDONTWRITEBYTECODE 1
7
  ENV PYTHONUNBUFFERED 1
 
 
8
 
9
  COPY requirements.txt .
10
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
 
13
  # ---> ADD THIS LINE <---
14
  # Grant write permissions to the current user for the /code directory
15
  # This allows creating files like '.composio.lock' if needed in the WORKDIR
 
16
  # ---> END OF ADDED LINE <---
17
 
18
  EXPOSE 7860