From 6ddeacf0368f561ecbb390913fae1d4963aa4893 Mon Sep 17 00:00:00 2001 From: Blair Vanderlugt Date: Sun, 11 Jul 2021 09:32:00 -0700 Subject: [PATCH] fix the scripts path in cic-eth --- apps/cic-eth/docker/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/cic-eth/docker/Dockerfile b/apps/cic-eth/docker/Dockerfile index 7e117c63..8d0028f2 100644 --- a/apps/cic-eth/docker/Dockerfile +++ b/apps/cic-eth/docker/Dockerfile @@ -36,12 +36,12 @@ COPY crypto_dev_signer_config/ /usr/local/etc/crypto-dev-signer/ ENTRYPOINT [] # --- RUNTIME --- -FROM python:3.8.6-slim-buster as runtime +FROM python:3.8.6-slim-buster as prod RUN apt-get update && \ apt install -y gnupg libpq-dev procps -WORKDIR /usr/src/cic-eth +WORKDIR /root COPY --from=dev /usr/local/bin/ /usr/local/bin/ COPY --from=dev /usr/local/lib/python3.8/site-packages/ \ @@ -56,6 +56,7 @@ RUN chmod 755 *.sh COPY config/ /usr/local/etc/cic-eth/ COPY cic_eth/db/migrations/ /usr/local/share/cic-eth/alembic/ COPY crypto_dev_signer_config/ /usr/local/etc/crypto-dev-signer/ +COPY scripts/ . # TODO this kind of code sharing across projects should be discouraged...can we make util a library? #COPY util/liveness/health.sh /usr/local/bin/health.sh