From 49020f31eb67c9cf9e5235e82a8feb3867b1206e Mon Sep 17 00:00:00 2001 From: Angela Tran Date: Fri, 8 Dec 2023 19:17:11 +0000 Subject: [PATCH] refactor: copy build artifacts to location that won't be overwritten --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9e688263..56d114c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,12 +15,12 @@ WORKDIR /home/calitp/app ENV FLASK_APP=eligibility_server.app:app -COPY --from=build_wheel /build/dist ./dist +COPY --from=build_wheel /build/dist /build/dist # copy source files COPY bin bin # install source as a package -RUN pip install $(find -name eligibility_server*.whl) +RUN pip install $(find /build/dist -name eligibility_server*.whl) # start app ENTRYPOINT ["/bin/bash"]