Merge pull request #136 from gliptak/patch-1

Correct Dockerfile
This commit is contained in:
t.me/xtekky 2023-04-26 08:56:00 +01:00 committed by GitHub
commit afcfb8e959
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,11 @@
FROM python:3.10 FROM python:3.10-slim
RUN apt-get update && apt-get install -y git RUN apt-get update && apt-get install -y git
RUN git clone https://github.com/xtekky/gpt4free.git RUN git clone https://github.com/xtekky/gpt4free.git
WORKDIR /gpt4free WORKDIR /gpt4free
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
RUN cp gui/streamlit_app.py .
EXPOSE 8501 EXPOSE 8501