update build script
This commit is contained in:
parent
bde76be93c
commit
7c69e5f418
1 changed files with 3 additions and 3 deletions
|
@ -14,8 +14,8 @@ RUN yarn compile
|
||||||
# |--------------------------------------------------------------------------
|
# |--------------------------------------------------------------------------
|
||||||
FROM composer:2 AS composer
|
FROM composer:2 AS composer
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
COPY --from=buildJS /build/public .
|
COPY --from=buildJS /build .
|
||||||
RUN cd API && composer install
|
RUN composer install
|
||||||
|
|
||||||
# |--------------------------------------------------------------------------
|
# |--------------------------------------------------------------------------
|
||||||
# | Install Webserver
|
# | Install Webserver
|
||||||
|
@ -24,4 +24,4 @@ FROM gitlab.jonasled.de/jonasled/apache-php-minimal:latest
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
apk add php8-mysqli php8-mbstring php8-curl curl --no-cache && \
|
apk add php8-mysqli php8-mbstring php8-curl curl --no-cache && \
|
||||||
echo "RemoteIPHeader X-Forwarded-For" > /etc/apache2/conf.d/remoteip.conf
|
echo "RemoteIPHeader X-Forwarded-For" > /etc/apache2/conf.d/remoteip.conf
|
||||||
COPY --from=composer /build/ .
|
COPY --from=composer /build/public .
|
Loading…
Reference in a new issue