noot
This commit is contained in:
parent
a0754399c7
commit
4d10b45b1e
@ -1,7 +1,10 @@
|
|||||||
FROM node:24-alpine as NODEBUILDER
|
FROM node:24-alpine as NODEBUILDER
|
||||||
WORKDIR /wd
|
WORKDIR /wd
|
||||||
COPY . .
|
# Copy only package files first for better caching
|
||||||
|
COPY package.json yarn.lock ./
|
||||||
RUN corepack yarn install
|
RUN corepack yarn install
|
||||||
|
# Copy source code after dependencies are installed
|
||||||
|
COPY . .
|
||||||
RUN corepack yarn build
|
RUN corepack yarn build
|
||||||
|
|
||||||
FROM caddy:2.10-alpine
|
FROM caddy:2.10-alpine
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user