Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -38,7 +38,7 @@ WORKDIR /app
|
|
| 38 |
# Copy the project's requirements file into the container.
|
| 39 |
RUN cp /tmp/gpt4free/requirements.txt /app/
|
| 40 |
|
| 41 |
-
|
| 42 |
RUN mkdir /home/seluser/.local/lib && chmod 777 /home/seluser/.local/lib
|
| 43 |
|
| 44 |
# Upgrade pip for the latest features and install the project's Python dependencies.
|
|
@@ -48,7 +48,6 @@ RUN pip install --upgrade pip && pip install -r requirements.txt
|
|
| 48 |
RUN cp -r /tmp/gpt4free/g4f /app/g4f
|
| 49 |
|
| 50 |
RUN chmod a+x /usr/bin/chromedriver
|
| 51 |
-
|
| 52 |
-
|
| 53 |
# Expose ports
|
| 54 |
EXPOSE 80 1337
|
|
|
|
| 38 |
# Copy the project's requirements file into the container.
|
| 39 |
RUN cp /tmp/gpt4free/requirements.txt /app/
|
| 40 |
|
| 41 |
+
|
| 42 |
RUN mkdir /home/seluser/.local/lib && chmod 777 /home/seluser/.local/lib
|
| 43 |
|
| 44 |
# Upgrade pip for the latest features and install the project's Python dependencies.
|
|
|
|
| 48 |
RUN cp -r /tmp/gpt4free/g4f /app/g4f
|
| 49 |
|
| 50 |
RUN chmod a+x /usr/bin/chromedriver
|
| 51 |
+
RUN mkdir /home/seluser/.local/share/undetected_chromedriver && chmod 777 /home/seluser/.local/share/undetected_chromedriver
|
|
|
|
| 52 |
# Expose ports
|
| 53 |
EXPOSE 80 1337
|