Files
blackroad-os-pack-finance/Dockerfile
Alexa Louise 29649dce41 chore(infra): add Railway, Docker, and CI/CD configuration
- Add railway.toml for Railway deployment
- Add Dockerfile for containerized builds
- Add GitHub Actions deploy workflow

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 19:36:52 -06:00

26 lines
453 B
Docker

FROM node:20-alpine
WORKDIR /app
# Install pnpm
RUN corepack enable
# Copy package files
COPY package.json pnpm-lock.yaml* pnpm-workspace.yaml* ./
# Install dependencies
RUN pnpm install --frozen-lockfile || npm install
COPY . .
# Build
RUN pnpm build || npm run build || echo "No build step"
ENV NODE_ENV=production
ENV PORT=8080
ENV HOST=0.0.0.0
EXPOSE 8080
CMD ["sh", "-c", "pnpm start || npm start || node dist/server.js || node index.js"]