Files
ocean-cleanup/Dockerfile.backend
Paul Bailey 0e05769581 Rebrand application from 'Beach Litter Mapping Platform' to 'Litter Scouts'
- Updated app name in all source files, documentation, and configuration
- Changed package names in package.json files
- Updated header, titles, and user-facing text
- Modified email templates and notification text
- Updated steering rules and spec documents
2025-11-18 00:31:44 +00:00

29 lines
408 B
Docker

# Backend Dockerfile
FROM node:20-alpine
WORKDIR /app
# Copy package files
COPY server/package*.json ./
# Install dependencies
RUN npm ci
# Copy prisma schema first for generation
COPY server/prisma ./prisma
# Generate Prisma client
RUN npx prisma generate
# Copy source code
COPY server/ .
# Build TypeScript
RUN npm run build
# Expose port
EXPOSE 3000
# Start the application
CMD ["npm", "start"]