A locally focused bluesky appview
at master 509 B view raw
1# Build stage 2FROM node:24-alpine AS builder 3 4WORKDIR /app 5 6# Copy package files 7COPY package*.json ./ 8 9# Install dependencies 10RUN npm ci 11 12# Copy source code 13COPY . . 14 15# Build the app 16RUN npm run build 17 18# Runtime stage - serve with nginx 19FROM nginx:alpine 20 21# Copy built assets from builder (react-scripts builds to 'build' directory) 22COPY --from=builder /app/build /usr/share/nginx/html 23 24# Copy nginx configuration 25COPY nginx.conf /etc/nginx/conf.d/default.conf 26 27EXPOSE 80 28 29CMD ["nginx", "-g", "daemon off;"]