Files
sprawozdania-frontend/services/Dockerfile
T
deploy 5e3595f97f
Build and Deploy Docker / build (push) Successful in 3m49s
Build and Deploy Docker / deploy (push) Successful in 30s
add docker for release; add cicdg
2026-07-14 15:01:23 +02:00

15 lines
245 B
Docker

FROM node:22.15 as build
RUN mkdir /public
WORKDIR /public
COPY . .
RUN npm install
RUN npm run build
FROM nginx:alpine
COPY --from=build /public/dist /usr/share/nginx/html
COPY ./services/nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80