Initial commit of Brushing Buddy

This commit is contained in:
Luca Molinari
2026-10-10 07:28:33 +02:00
commit 8a68c5f15d
22 changed files with 2902 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
# Stage 1: Build the React application
FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# Stage 2: Serve the app with Nginx
FROM nginx:alpine
# Vite outputs the compiled app to the 'dist' folder
COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]