Initial commit

This commit is contained in:
Andres Santana
2026-09-25 09:37:15 -04:00
commit 324464e9de
115 changed files with 22403 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# ---------- Build stage ----------
FROM node:22-alpine AS build
WORKDIR /app
# Install dependencies first (better layer caching)
COPY package.json package-lock.json ./
COPY apps/web/package.json apps/web/package.json
RUN npm ci
# Copy source and build the static site
COPY apps/web apps/web
RUN npm run build --workspace apps/web
# ---------- Production stage ----------
FROM nginx:stable-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist/apps/web /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]