update - with versions

This commit is contained in:
2025-06-30 14:41:37 +00:00
parent 841cb61acf
commit 732cac4393
30 changed files with 5867 additions and 0 deletions

35
reader/Dockerfile Normal file
View File

@@ -0,0 +1,35 @@
# React App Dockerfile
FROM node:20-alpine AS build
# Set working directory
WORKDIR /app
# Install pnpm globally
RUN npm install -g pnpm
# Copy package.json and pnpm-lock.yaml
COPY package.json pnpm-lock.yaml* ./
# Install dependencies with pnpm
RUN pnpm install --frozen-lockfile
# Copy the rest of the application
COPY . .
# Build the application
RUN pnpm run build
# Production stage
FROM nginx:alpine AS production
# Copy built assets from build stage
COPY --from=build /app/dist /usr/share/nginx/html
# Copy nginx configuration
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Expose port 80
EXPOSE 80
# Start nginx
CMD ["nginx", "-g", "daemon off;"]