Remove app directory and simplify project structure

This commit is contained in:
Mauricio Siu
2025-03-01 02:47:32 -06:00
parent 7d1b05ef3f
commit de665b6ed7
8 changed files with 3 additions and 622 deletions

View File

@@ -1,16 +0,0 @@
FROM node:20.9-slim
WORKDIR /app
# Instalar serve globalmente
RUN npm install -g serve
# Copiar la carpeta templates
COPY ../templates ./public/templates
COPY ../templates/index.html ./public/
# Exponer el puerto
EXPOSE 3000
# Servir los archivos estáticos
CMD ["serve", "-s", "public", "-l", "3000"]