init commit

This commit is contained in:
pawka 2026-03-15 16:34:31 -03:00
commit b7b1fd306a
32 changed files with 4527 additions and 0 deletions

16
Dockerfile Normal file
View file

@ -0,0 +1,16 @@
# Stage 1: build
FROM node:25-alpine AS builder
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
# Stage 2: runtime
FROM node:25-alpine
WORKDIR /app
COPY --from=builder /app/build ./build
EXPOSE 3000
ENV PORT=3000
ENV HOST=0.0.0.0
CMD ["node", "build"]