From b284f8f971a36613fb28c710f9cd9d1b6cb4e4db Mon Sep 17 00:00:00 2001 From: Eike Ahmels Date: Wed, 27 Oct 2021 21:14:34 +0200 Subject: [PATCH] FIX: build scripts --- api/Dockerfile | 4 ++++ web/Dockerfile | 2 ++ 2 files changed, 6 insertions(+) diff --git a/api/Dockerfile b/api/Dockerfile index d3e6b32..8f6c812 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -16,6 +16,10 @@ RUN bash /tmp/install-debian.sh 2>/dev/null; exit 0; USER root +RUN apt-get -y autoremove \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + COPY start-api /bin/start-api RUN chmod +x /bin/start-api diff --git a/web/Dockerfile b/web/Dockerfile index 561bde2..316376e 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -7,6 +7,8 @@ COPY nginx/common_vars.conf /etc/nginx/conf.d/common_vars.conf COPY nginx/upstreams.conf /etc/nginx/conf.d/upstreams.conf COPY nginx/mainsail.conf /etc/nginx/conf.d/default.conf +RUN apt-get update \ + && apt-get install -y unzip COPY start-web /bin/start-web RUN chmod +x /bin/start-web