Swap yarn install and copy assets as well
This commit is contained in:
parent
6a26165647
commit
356001b5ad
|
@ -1,9 +1,9 @@
|
|||
FROM node:8-alpine as themes
|
||||
WORKDIR /app
|
||||
RUN apk add --no-cache yarn
|
||||
COPY resources/assets/ /app/resources/assets
|
||||
COPY .babelrc package.json webpack.config.js /app/
|
||||
RUN yarn install
|
||||
COPY resources/assets/ /app/resources/assets
|
||||
RUN yarn build
|
||||
|
||||
FROM nginx:alpine
|
||||
|
|
Loading…
Reference in New Issue