fix(deploy): resolve F-19 — remove redundant COPY and dead comments in Dockerfile

This commit is contained in:
root
2026-05-28 16:40:03 +08:00
parent fd8d392a08
commit c873e4d261

View File

@@ -31,9 +31,6 @@ RUN apt-get -y install --fix-missing \
libwebp-dev \
libxpm-dev
#RUN curl https://maatwebsite.sh
#RUN tar -xvf blalsa .
# COPY fileni kesitu
# Install PHP extensions
RUN docker-php-ext-configure gd \
--with-freetype \
@@ -72,10 +69,6 @@ WORKDIR /var/www/html
RUN groupadd -g 1000 www
RUN useradd -u 1000 -ms /bin/bash -g www www
# Copy existing application directory contents
COPY ./src /var/www/html
# Copy existing application directory permissions
COPY --chown=www:www ./src /var/www/html
# Change current user to www