Set default PORT arg in Dockerfile to default Khoj port, 42110

This commit is contained in:
Debanjum
2025-01-13 20:25:40 +07:00
parent 9355381fac
commit 85c537a1de

View File

@@ -58,6 +58,6 @@ RUN cd src && python3 khoj/manage.py collectstatic --noinput
# Run the Application # Run the Application
# There are more arguments required for the application to run, # There are more arguments required for the application to run,
# but those should be passed in through the docker-compose.yml file. # but those should be passed in through the docker-compose.yml file.
ARG PORT ARG PORT=42110
EXPOSE ${PORT} EXPOSE ${PORT}
ENTRYPOINT ["python3", "src/khoj/main.py"] ENTRYPOINT ["python3", "src/khoj/main.py"]