gpt4free/Dockerfile

20 lines
401 B
Docker
Raw Normal View History

FROM python:3.11.3-slim
2023-05-10 15:45:00 +00:00
RUN apt-get update \
&& apt-get install -y --no-install-recommends ffmpeg \
&& apt-get -y clean \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt /tmp
RUN pip install --upgrade pip \
&& pip install -r /tmp/requirements.txt \
&& rm /tmp/requirements.txt
2023-05-02 18:24:48 +00:00
2023-05-10 15:45:00 +00:00
COPY . /root/gpt4free
2023-05-02 18:24:48 +00:00
2023-05-10 15:45:00 +00:00
WORKDIR /root/gpt4free
2023-05-10 15:45:00 +00:00
CMD ["streamlit", "run", "./gui/streamlit_app.py"]
2023-05-02 18:24:48 +00:00
EXPOSE 8501