fix dockerfile

This commit is contained in:
Jonas Leder 2022-01-28 23:25:46 +01:00
parent f4e1481a22
commit 15c6566fcf

View file

@ -4,8 +4,6 @@
FROM node:lts-alpine AS buildJS
WORKDIR /build
COPY . .
RUN mkdir public/js
RUN mkdir public/css
RUN yarn install
RUN yarn compile
@ -14,7 +12,7 @@ RUN yarn compile
# |--------------------------------------------------------------------------
FROM composer:2 AS composer
WORKDIR /build
COPY --from=buildJS /build .
COPY --from=buildJS /build/dist .
RUN composer install
# |--------------------------------------------------------------------------