fix dockerfile
This commit is contained in:
parent
f4e1481a22
commit
15c6566fcf
|
@ -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
|
||||
|
||||
# |--------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue