Spaces:
Sleeping
Sleeping
Akinkunle Akinola
commited on
Commit
·
316e482
1
Parent(s):
18f907f
Add application file
Browse files- Dockerfile +6 -5
- chainlit.md +3 -0
- 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 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
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
|