Edit Dockerfile
This commit is contained in:
+5
-1
@@ -24,7 +24,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 i
|
RUN composer install \
|
||||||
|
--no-dev \
|
||||||
|
--no-scripts \
|
||||||
|
--no-autoloader \
|
||||||
|
--no-interaction
|
||||||
|
|
||||||
# Hapus proxy dari environment runtime
|
# Hapus proxy dari environment runtime
|
||||||
ENV http_proxy=
|
ENV http_proxy=
|
||||||
|
|||||||
Reference in New Issue
Block a user