Akinkunle Akinola commited on
Commit
316e482
·
1 Parent(s): 18f907f

Add application file

Browse files
Files changed (3) hide show
  1. Dockerfile +6 -5
  2. chainlit.md +3 -0
  3. requirements.txt +2 -0
Dockerfile CHANGED
@@ -1,10 +1,11 @@
1
  FROM python:3.9
2
  RUN useradd -m -u 1000 user
3
  USER user
4
-
5
- WORKDIR /code
6
- COPY ./requirements.txt /code/requirements.txt
7
-
8
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
 
9
  COPY . .
10
  CMD ["chainlit", "run", "app.py", "--port", "7860"]
 
1
  FROM python:3.9
2
  RUN useradd -m -u 1000 user
3
  USER user
4
+ ENV HOME=/Users/kakin \
5
+ PATH=/Users/kakin/.local/bin:$PATH
6
+ WORKDIR $HOME/app
7
+ COPY --chown=user . $HOME/app
8
+ COPY ./requirements.txt ~/app/requirements.txt
9
+ RUN pip install -r requirements.txt
10
  COPY . .
11
  CMD ["chainlit", "run", "app.py", "--port", "7860"]
chainlit.md ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ # Beyond ChatGPT
2
+
3
+ This Chainlit app was created following instructions from [this repository!](https://github.com/AI-Maker-Space/Beyond-ChatGPT)
requirements.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ chainlit
2
+ openai