Update Dockerfile

1. Removes the MODULES ARG.
2. Replaces the final CMD with ENTRYPOINT. This allows the modules to be selected at run time of the docker, rather than compile time of the image.
This commit is contained in:
mrguymiah
2024-04-02 20:05:45 -04:00
committed by GitHub
parent 285e90f8df
commit 71d2115a50

View File

@@ -31,5 +31,4 @@ COPY . .
ARG REQUIREMENTS
RUN pip install -r $REQUIREMENTS
ARG MODULES
CMD ["python","server.py","--enable-modules=$MODULES"]
ENTRYPOINT ["python","server.py"]