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