chore: add dockerfile, nginx.conf and infra/docker-compose.yml

This commit is contained in:
2026-06-13 20:14:29 +03:00
parent d348e0c347
commit ca6b5f40c3
3 changed files with 54 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
FROM node:25-alpine3.23 AS builder
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile
COPY . .
RUN yarn build
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]