Cleanup Docker clean steps

This commit is contained in:
2026-07-03 15:04:19 -05:00
parent bfb1a8e95e
commit 435e5a1734
3 changed files with 14 additions and 16 deletions

View File

@@ -58,10 +58,10 @@ RUN apt-get update && apt-get install -y \
# 4. Copy files over
# 5. Cleanup
RUN apt-get autoremove -y --purge && apt-get autoclean
RUN rm -rf /var/lib/apt/lists/*
RUN rm -rf /tmp/*
RUN apt-get autoremove -yqq --purge \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /tmp/*
# 6. Expose Port and define the command used to run the app
EXPOSE 80