Rewrite with modern stack

This commit is contained in:
martin 2025-08-22 19:28:05 +02:00
commit 1f1f20ffd6
69 changed files with 17771 additions and 1589 deletions

26
frontend/Dockerfile Normal file
View file

@ -0,0 +1,26 @@
FROM node:18-alpine
WORKDIR /app
# Copy package files
COPY frontend/package*.json ./
COPY shared/ ../shared/
# Install dependencies
RUN npm install
# Copy source code
COPY frontend/ .
# Build the application
RUN npm run build
# Expose port
EXPOSE 3000
# Health check
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://localhost:3000 || exit 1
# Start the application
CMD ["npm", "start"]