Entreprenerdly commited on
Commit
6bb1196
·
verified ·
1 Parent(s): 60eb029

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -6
Dockerfile CHANGED
@@ -1,11 +1,14 @@
1
- FROM python:3.10
2
 
3
- WORKDIR /code
4
 
5
- COPY ./requirements.txt /code/requirements.txt
6
 
7
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
- COPY . .
10
 
11
- CMD ["chainlit", "run", "app.py", "--port", "7860"]
 
 
 
 
1
+ FROM python:3.9
2
 
3
+ WORKDIR /app
4
 
5
+ COPY ./requirements.txt /app/requirements.txt
6
 
7
+ RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
8
 
9
+ COPY . /app
10
 
11
+ # Change permissions for the app directory
12
+ RUN chmod -R 777 /app
13
+
14
+ CMD ["chainlit", "run", "app.py", "--port", "7860"]