Fix: Automatically change line break
This commit is contained in:
+2
-1
@@ -6,6 +6,7 @@ WORKDIR /var/www/html
|
|||||||
|
|
||||||
# Install packages(apt)
|
# Install packages(apt)
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
|
RUN apt-get install -y dos2unix
|
||||||
RUN apt-get install -y libpng-dev
|
RUN apt-get install -y libpng-dev
|
||||||
RUN apt-get install -y libjpeg62-turbo-dev
|
RUN apt-get install -y libjpeg62-turbo-dev
|
||||||
RUN apt-get install -y libfreetype6-dev
|
RUN apt-get install -y libfreetype6-dev
|
||||||
@@ -20,6 +21,7 @@ RUN rm -rf /var/lib/apt/lists/*
|
|||||||
|
|
||||||
# Copy uwuzu
|
# Copy uwuzu
|
||||||
COPY src /usr/src/app
|
COPY src /usr/src/app
|
||||||
|
RUN find /usr/src/app/ -type f -exec dos2unix {} \;
|
||||||
|
|
||||||
# Install packages(php)
|
# Install packages(php)
|
||||||
RUN docker-php-ext-configure gd --with-freetype --with-jpeg
|
RUN docker-php-ext-configure gd --with-freetype --with-jpeg
|
||||||
@@ -55,4 +57,3 @@ USER www-data
|
|||||||
|
|
||||||
# Exec entrypoint
|
# Exec entrypoint
|
||||||
ENTRYPOINT ["/usr/src/entrypoint.sh"]
|
ENTRYPOINT ["/usr/src/entrypoint.sh"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user