Skip to content

Commit a523bec

Browse files
committed
cleanup image after build
1 parent a57c2fa commit a523bec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ RUN docker-php-ext-install pdo_mysql \
2424
&& docker-php-ext-install intl \
2525
&& docker-php-ext-install pcntl
2626

27-
# Set the correct permissions for the application files
27+
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
28+
2829
RUN chown -R www-data:www-data /var/www
2930

30-
# Set Default User for Apache
31-
USER www-data
31+
USER www-data

0 commit comments

Comments
 (0)