From b589b33624c0d9cb2399c774fc6444bf86f1ed5e Mon Sep 17 00:00:00 2001 From: Jonas Leder Date: Sun, 26 Sep 2021 00:24:09 +0200 Subject: [PATCH] update comments --- Dockerfile | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0b2d16d..4d901fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ -# Build SCSS and JS +# |-------------------------------------------------------------------------- +# | Build SCSS and JS +# |-------------------------------------------------------------------------- FROM node:lts-alpine AS buildJS WORKDIR /build COPY . . @@ -7,22 +9,15 @@ RUN mkdir public/css RUN yarn install RUN yarn compile -# Install PHP dependencies +# |-------------------------------------------------------------------------- +# | Install PHP dependencies +# |-------------------------------------------------------------------------- FROM composer:2 AS composer WORKDIR /build COPY --from=buildJS /build/public . RUN cd API && composer install -# Prepare Webserver FROM gitlab.jonasled.de/jonasled/apache-php-minimal:latest - -# |-------------------------------------------------------------------------- -# | install dependencies -# |-------------------------------------------------------------------------- RUN apk update && \ apk add php8-mysqli php8-mbstring curl --no-cache - -# |-------------------------------------------------------------------------- -# | copy website from node build -# |-------------------------------------------------------------------------- COPY --from=composer /build/ . \ No newline at end of file