Update Dockerfile
Browse files- Dockerfile +7 -4
Dockerfile
CHANGED
@@ -2,16 +2,19 @@ FROM python:3.10-slim-buster
|
|
2 |
|
3 |
WORKDIR /app
|
4 |
|
5 |
-
RUN apt-get update && \
|
|
|
6 |
|
7 |
RUN git clone https://github.com/xAbdoAT/ChimeraGPT-WebUI.git
|
8 |
|
9 |
COPY requirements.txt requirements.txt
|
10 |
|
11 |
RUN python -m venv venv
|
12 |
-
ENV PATH=“/app/venv/bin:$PATH”
|
13 |
|
14 |
-
|
|
|
|
|
|
|
15 |
|
16 |
COPY . .
|
17 |
|
@@ -19,4 +22,4 @@ RUN chmod -R 777 /app/ChimeraGPT-WebUI/translations
|
|
19 |
|
20 |
EXPOSE 8080
|
21 |
|
22 |
-
CMD [
|
|
|
2 |
|
3 |
WORKDIR /app
|
4 |
|
5 |
+
RUN apt-get update && \
|
6 |
+
apt-get install -y --no-install-recommends git build-essential libffi-dev cmake libcurl4-openssl-dev
|
7 |
|
8 |
RUN git clone https://github.com/xAbdoAT/ChimeraGPT-WebUI.git
|
9 |
|
10 |
COPY requirements.txt requirements.txt
|
11 |
|
12 |
RUN python -m venv venv
|
|
|
13 |
|
14 |
+
ENV PATH="/app/venv/bin:$PATH"
|
15 |
+
|
16 |
+
RUN python -m pip install --upgrade pip && \
|
17 |
+
python -m pip install --no-cache-dir -r requirements.txt
|
18 |
|
19 |
COPY . .
|
20 |
|
|
|
22 |
|
23 |
EXPOSE 8080
|
24 |
|
25 |
+
CMD ["python3", "./run.py"]
|