Add meta.json and update server infrastructure for template management

This commit is contained in:
Mauricio Siu
2025-03-09 13:13:51 -06:00
parent 760676d170
commit 07aaddcc09
5 changed files with 182 additions and 15 deletions

22
app/Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM node:20.9-slim
WORKDIR /app
# Crear la estructura de directorios
RUN mkdir -p public/templates
# Copiar package.json y server.js
COPY ./app/package.json ./
COPY ./app/server.js ./
# Copiar la carpeta templates
COPY ./templates ./public/templates/
# Instalar dependencias
RUN npm install express cors
# Exponer el puerto
EXPOSE 4000
# Iniciar el servidor
CMD ["node", "server.js"]