From cb9bb7a66ce49050e2ea005276f7d342673bbcc6 Mon Sep 17 00:00:00 2001 From: aguilard Date: Tue, 18 Apr 2023 16:25:19 +0000 Subject: [PATCH] Feature 10981: fix CMD in webhook Dockerfile Change-Id: If8332c12c2f065c0a4d195873e24a98aa34b0ed4 Signed-off-by: aguilard --- docker/Webhook/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Webhook/Dockerfile b/docker/Webhook/Dockerfile index 1205fbc5..73e1bd07 100644 --- a/docker/Webhook/Dockerfile +++ b/docker/Webhook/Dockerfile @@ -58,6 +58,7 @@ RUN rm -f /etc/apt/apt.conf.d/proxy.conf COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages COPY --from=INSTALL /usr/local/lib/python3.8/dist-packages /usr/local/lib/python3.8/dist-packages +COPY --from=INSTALL /usr/local/bin/uvicorn /usr/local/bin/uvicorn # Creating the user for the app RUN groupadd -g 1000 appuser && \ @@ -72,6 +73,6 @@ USER appuser EXPOSE 9998 -CMD ["uvicorn", "osm_webhook_translator.app.main:app", "--host", "0.0.0.0", "--port", "80"] +CMD ["uvicorn", "osm_webhook_translator.main:app", "--host", "0.0.0.0", "--port", "80"] -- 2.25.1