diff --git a/Dockerfile b/Dockerfile
index a7370718cd96587f9ef8ceecb1dde2fcfe138fc9..8c979147244edb188b13ff27d8f8a9a02d393bf8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -32,4 +32,8 @@ ENV PHP_EXTENSION_APCU=0 \
 # |--------------------------------------------------------------------------
 # | Add php files of website
 # |--------------------------------------------------------------------------
-COPY ./public /var/www/html
\ No newline at end of file
+COPY ./public /var/www/html
+
+# Change back Apache user and group to www-data
+ENV APACHE_RUN_USER=www-data \
+    APACHE_RUN_GROUP=www-data
\ No newline at end of file