Edit Dockerfile
This commit is contained in:
+2
-2
@@ -20,12 +20,12 @@ COPY --from=10.15.39.186:8084/library/composer:2.7 /usr/bin/composer /usr/bin/co
|
||||
|
||||
WORKDIR /var/www
|
||||
|
||||
RUN composer i
|
||||
|
||||
# PERBAIKAN: Gunakan skema copy offline dari aplikasi sukses,
|
||||
# tetapi tambahkan flag chown untuk mencegah error Permission Denied (Error 500) pada Pod
|
||||
COPY --chown=www-data:www-data . .
|
||||
|
||||
RUN composer i
|
||||
|
||||
# Hapus proxy dari environment runtime
|
||||
ENV http_proxy=
|
||||
ENV https_proxy=
|
||||
|
||||
Reference in New Issue
Block a user