Ensure Docker container always starts Web GUI (not CLI)
This commit is contained in:
+3
-2
@@ -44,5 +44,6 @@ COPY misc /app/src/misc
|
||||
# Expose port (for Web GUI)
|
||||
EXPOSE 7860
|
||||
|
||||
# Run the application
|
||||
ENTRYPOINT ["python3", "-m", "scraibe.cli"]
|
||||
# Run the Web GUI by default (never the CLI)
|
||||
# Use python -m scraibe so __main__.py forces web GUI.
|
||||
CMD ["python3", "-m", "scraibe"]
|
||||
|
||||
Reference in New Issue
Block a user