prueba tecnica

This commit is contained in:
Alejandro
2025-06-15 18:29:25 +02:00
parent 9758ee0bc6
commit d97e55a83f
127 changed files with 6488 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
# ---------- build ----------
FROM node:20-alpine AS build
WORKDIR /app
COPY front/contracts-frontend/package*.json ./
RUN npm ci
COPY front/contracts-frontend .
RUN npm run build
# ---------- runtime ----------
FROM caddy:2-alpine
COPY --from=build /app/dist /usr/share/caddy
COPY docker/Caddyfile /etc/caddy/Caddyfile
EXPOSE 80