Create Dockerfile

This commit is contained in:
kail518 2023-04-25 08:51:49 +07:00 committed by GitHub
parent c08375d0bb
commit 304d149ba6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

11
Docker/Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM python:3.10
RUN apt-get update && apt-get install -y git
RUN git clone https://github.com/xtekky/gpt4free.git
WORKDIR /gpt4free
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 8501
CMD ["streamlit", "run", "streamlit_app.py"]