Gábor Lipták
commited on
Correct Dockerfile
Browse files- Docker/Dockerfile +2 -1
Docker/Dockerfile
CHANGED
|
@@ -1,10 +1,11 @@
|
|
| 1 |
-
FROM python:3.10
|
| 2 |
|
| 3 |
RUN apt-get update && apt-get install -y git
|
| 4 |
|
| 5 |
RUN git clone https://github.com/xtekky/gpt4free.git
|
| 6 |
WORKDIR /gpt4free
|
| 7 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 8 |
|
| 9 |
EXPOSE 8501
|
| 10 |
|
|
|
|
| 1 |
+
FROM python:3.10-slim
|
| 2 |
|
| 3 |
RUN apt-get update && apt-get install -y git
|
| 4 |
|
| 5 |
RUN git clone https://github.com/xtekky/gpt4free.git
|
| 6 |
WORKDIR /gpt4free
|
| 7 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 8 |
+
RUN cp gui/streamlit_app.py .
|
| 9 |
|
| 10 |
EXPOSE 8501
|
| 11 |
|