fix(deploy): resolve F-19 — remove redundant COPY and dead comments in Dockerfile
This commit is contained in:
@@ -31,9 +31,6 @@ RUN apt-get -y install --fix-missing \
|
|||||||
libwebp-dev \
|
libwebp-dev \
|
||||||
libxpm-dev
|
libxpm-dev
|
||||||
|
|
||||||
#RUN curl https://maatwebsite.sh
|
|
||||||
#RUN tar -xvf blalsa .
|
|
||||||
# COPY fileni kesitu
|
|
||||||
# Install PHP extensions
|
# Install PHP extensions
|
||||||
RUN docker-php-ext-configure gd \
|
RUN docker-php-ext-configure gd \
|
||||||
--with-freetype \
|
--with-freetype \
|
||||||
@@ -72,10 +69,6 @@ WORKDIR /var/www/html
|
|||||||
RUN groupadd -g 1000 www
|
RUN groupadd -g 1000 www
|
||||||
RUN useradd -u 1000 -ms /bin/bash -g www 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
|
COPY --chown=www:www ./src /var/www/html
|
||||||
|
|
||||||
# Change current user to www
|
# Change current user to www
|
||||||
|
|||||||
Reference in New Issue
Block a user