Modify Dockerfile to accept parameters 61/8161/1
authorelinuxhenrik <henrik.b.andersson@est.tech>
Thu, 5 May 2022 13:56:18 +0000 (15:56 +0200)
committerelinuxhenrik <henrik.b.andersson@est.tech>
Thu, 5 May 2022 13:56:24 +0000 (15:56 +0200)
Issue-ID: NONRTRIC-749
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Ic49c0530a0c2b351c3a8b8bb5e50b7e38e04ba95

Dockerfile

index 4434e70..9f1a642 100644 (file)
@@ -10,5 +10,6 @@ RUN pip3 install -r requirements.txt
 
 COPY ./src .
 
-CMD [ "python3", "main.py"]
+ENTRYPOINT [ "python3", "main.py" ]
+CMD []