mirror of
https://github.com/morbalint/kemkas.git
synced 2026-07-18 03:13:46 +00:00
18 lines
306 B
Docker
18 lines
306 B
Docker
FROM node:20.15.1-bookworm as builder
|
|
|
|
WORKDIR "/src"
|
|
|
|
COPY ["package.json", "yarn.lock", "./"]
|
|
|
|
RUN yarn install --frozen-lockfile
|
|
|
|
COPY . .
|
|
|
|
RUN ./compile-less.sh
|
|
RUN yarn build
|
|
|
|
FROM nginx:latest as proxy
|
|
|
|
COPY --from=builder "/src/build" "/usr/share/nginx/html"
|
|
COPY ./nginx.conf /etc/nginx/nginx.conf
|