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

@@ -92,12 +92,11 @@ RUN npm --version
# 4. ...
# 5. Cleanup
RUN apt-get autoremove -y --purge
RUN apt-get autoclean
RUN rm -rf /var/lib/apt/lists/*
RUN rm -rf /tmp/*
RUN rm requirements.txt
RUN apt-get autoremove -yqq --purge \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /tmp/*
&& rm requirements.txt
# 6. Expose Port and define the command used to run the app
CMD ["bash"]