gpt4free/Dockerfile

20 lines
394 B
Docker
Raw Normal View History

2023-05-04 03:09:10 -04:00
FROM python:3.11
2023-05-10 11:45:00 -04: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 14:24:48 -04:00
2023-05-10 11:45:00 -04:00
COPY . /root/gpt4free
2023-05-02 14:24:48 -04:00
2023-05-10 11:45:00 -04:00
WORKDIR /root/gpt4free
2023-05-10 11:45:00 -04:00
CMD ["streamlit", "run", "./gui/streamlit_app.py"]
2023-05-02 14:24:48 -04:00
EXPOSE 8501