1
0
Fork 0

Correct Dockerfile

This commit is contained in:
Gábor Lipták 2023-04-25 21:08:10 -04:00 committed by GitHub
parent 7e858de0d4
commit b8bfe308e6
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