13 lines
198 B
Docker
13 lines
198 B
Docker
FROM node:20 as builder
|
|
|
|
WORKDIR /build
|
|
COPY package.json package-lock.json ./
|
|
|
|
RUN npm install
|
|
|
|
COPY ./ ./
|
|
|
|
RUN ./build.sh
|
|
|
|
FROM nginx:latest
|
|
COPY --from=builder /build/public /usr/share/nginx/html |