Removing apt's repository caches to help save space

This commit is contained in:
WilliamMiceli
2019-10-18 23:06:15 -04:00
parent c47a19b67e
commit 15f2e89218

View File

@@ -3,7 +3,8 @@ USER root
WORKDIR /var/www
# MySQL 5.7 (Homefully not version 8...)
RUN apt-get update && apt-get install mysql-server nginx -y
RUN apt-get update && apt-get install mysql-server nginx -y \
&& rm -rf /var/lib/apt/lists/*
COPY /entrypoint.sh /