From 757e0f815cd8c2dfa664526ea6e9da2af500927d Mon Sep 17 00:00:00 2001 From: Santi Manero Date: Wed, 20 Sep 2023 11:44:55 +0200 Subject: [PATCH] [OPT-928] fixed a little syntax issue and renamed build stage --- deployment/Dockerfile.application | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deployment/Dockerfile.application b/deployment/Dockerfile.application index f5a8476e..2bb190a1 100644 --- a/deployment/Dockerfile.application +++ b/deployment/Dockerfile.application @@ -1,4 +1,4 @@ -FROM python:3.8-alpine as builder +FROM python:3.8-alpine AS startleft-base WORKDIR /usr/src/app @@ -26,10 +26,10 @@ RUN apk update && \ apk add graphviz && \ apk add lapack && \ apk add cblas && \ - apk add geos \ + apk add geos -COPY --from=builder /usr/local/lib/python3.8/site-packages /usr/local/lib/python3.8/site-packages +COPY --from=startleft-base /usr/local/lib/python3.8/site-packages /usr/local/lib/python3.8/site-packages -COPY --from=builder /usr/local/bin/startleft /usr/local/bin/startleft +COPY --from=startleft-base /usr/local/bin/startleft /usr/local/bin/startleft CMD ["startleft", "server", "--host", "0.0.0.0"]