Files
kemkas-frontend/frontend/Dockerfile
T
morbalint 7c682373a5 refactor: use vite instead of CRA (#81)
* refactor: use vite instead of CRA

* skip deployments for now

* local env fixes
2026-04-04 16:21:09 +02:00

17 lines
274 B
Docker

FROM node:24.14.1-trixie AS builder
WORKDIR "/src"
COPY ["package.json", "yarn.lock", "./"]
RUN yarn install
COPY . .
RUN yarn build
FROM nginx:1.29.7-alpine3.23 AS proxy
COPY --from=builder "/src/dist" "/usr/share/nginx/html"
COPY ./nginx.conf /etc/nginx/nginx.conf