Edit Dockerfile
This commit is contained in:
+5
-1
@@ -25,7 +25,11 @@ WORKDIR /var/www
|
|||||||
# tetapi tambahkan flag chown untuk mencegah error Permission Denied (Error 500) pada Pod
|
# tetapi tambahkan flag chown untuk mencegah error Permission Denied (Error 500) pada Pod
|
||||||
COPY --chown=www-data:www-data . .
|
COPY --chown=www-data:www-data . .
|
||||||
|
|
||||||
RUN composer install
|
RUN composer install \
|
||||||
|
--no-dev \
|
||||||
|
--prefer-dist \
|
||||||
|
--no-interaction \
|
||||||
|
--optimize-autoloader
|
||||||
|
|
||||||
# Hapus proxy dari environment runtime
|
# Hapus proxy dari environment runtime
|
||||||
#ENV http_proxy=
|
#ENV http_proxy=
|
||||||
|
|||||||
Reference in New Issue
Block a user