Skip to content
Snippets Groups Projects
Verified Commit ca62c803 authored by Jonas Leder's avatar Jonas Leder
Browse files

work with workdir

parent ccbf0b51
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
......@@ -10,8 +10,8 @@ RUN yarn compile
# Install PHP dependencies
FROM composer:2 AS composer
WORKDIR /build
COPY --from=buildJS . .
RUN cd public/API && composer install
COPY --from=buildJS /build/public .
RUN cd API && composer install
# Prepare Webserver
FROM gitlab.jonasled.de/jonasled/apache-php-minimal:latest
......@@ -25,4 +25,4 @@ RUN apk update && \
# |--------------------------------------------------------------------------
# | copy website from node build
# |--------------------------------------------------------------------------
COPY --from=composer public .
\ No newline at end of file
COPY --from=composer /build/ .
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment