Skip to content

Commit

Permalink
[OPT-928] fixed a little syntax issue and renamed build stage
Browse files Browse the repository at this point in the history
  • Loading branch information
smaneroiriusrisk committed Sep 20, 2023
1 parent d093915 commit 757e0f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deployment/Dockerfile.application
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8-alpine as builder
FROM python:3.8-alpine AS startleft-base

WORKDIR /usr/src/app

Expand Down Expand Up @@ -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"]

0 comments on commit 757e0f8

Please sign in to comment.