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