build(frontend): decoupling yarn and build for better caching.
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
46b3ec2025
commit
0374f0934a
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,8 @@
|
|||
from node:14-stretch-slim AS builder
|
||||
workdir /work
|
||||
COPY . .
|
||||
RUN yarn && yarn build
|
||||
RUN yarn
|
||||
RUN yarn build
|
||||
|
||||
FROM nginx:alpine
|
||||
LABEL maintainer=Rajesh<rajesh@openreplay.com>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue