Skip to content

Commit

Permalink
refactor: copy build artifacts to location that won't be overwritten
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Dec 8, 2023
1 parent df4af52 commit 49020f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 49020f3

Please sign in to comment.