kail518
commited on
Create Dockerfile
Browse files- Docker/Dockerfile +11 -0
Docker/Dockerfile
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.10
|
| 2 |
+
|
| 3 |
+
RUN apt-get update && apt-get install -y git
|
| 4 |
+
|
| 5 |
+
RUN git clone https://github.com/xtekky/gpt4free.git
|
| 6 |
+
WORKDIR /gpt4free
|
| 7 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 8 |
+
|
| 9 |
+
EXPOSE 8501
|
| 10 |
+
|
| 11 |
+
CMD ["streamlit", "run", "streamlit_app.py"]
|