Update Dockerfile
Browse files- Dockerfile +5 -4
Dockerfile
CHANGED
|
@@ -47,12 +47,13 @@ RUN ls -la
|
|
| 47 |
RUN source .venv/bin/activate
|
| 48 |
|
| 49 |
# Install Python dependencies and the Chromium browser with Playwright within the venv.
|
| 50 |
-
RUN uv pip install -r requirements.txt \
|
| 51 |
-
&& playwright install chromium
|
|
|
|
| 52 |
|
| 53 |
# Expose the default port for the web application.
|
| 54 |
-
EXPOSE
|
| 55 |
|
| 56 |
# Command to run the application when the container starts.
|
| 57 |
# We bind to 0.0.0.0 to make the web UI accessible from outside the container.
|
| 58 |
-
CMD ["python", "webui.py", "--ip", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 47 |
RUN source .venv/bin/activate
|
| 48 |
|
| 49 |
# Install Python dependencies and the Chromium browser with Playwright within the venv.
|
| 50 |
+
RUN .venv/bin/uv pip install -r requirements.txt \
|
| 51 |
+
&& playwright install --with-deps chromium
|
| 52 |
+
|
| 53 |
|
| 54 |
# Expose the default port for the web application.
|
| 55 |
+
EXPOSE 7860
|
| 56 |
|
| 57 |
# Command to run the application when the container starts.
|
| 58 |
# We bind to 0.0.0.0 to make the web UI accessible from outside the container.
|
| 59 |
+
CMD [".venv/bin/python", "webui.py", "--ip", "0.0.0.0", "--port", "7860"]
|