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
|
||||
WORKDIR /build
|
||||
COPY --from=buildJS /build/public .
|
||||
RUN cd API && composer install
|
||||
COPY --from=buildJS /build .
|
||||
RUN composer install
|
||||
|
||||
# |--------------------------------------------------------------------------
|
||||
# | Install Webserver
|
||||
|
@ -24,4 +24,4 @@ FROM gitlab.jonasled.de/jonasled/apache-php-minimal:latest
|
|||
RUN apk update && \
|
||||
apk add php8-mysqli php8-mbstring php8-curl curl --no-cache && \
|
||||
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