Files
subdomain-test/Dockerfile.railpack
Cursor Agent c35c8c3cec Refactor: Switch to Bun and update dependencies
Replace pnpm with Bun for package management. Update Dockerfile and README.

Co-authored-by: lukeslakemail <lukeslakemail@gmail.com>
2025-10-19 20:24:55 +00:00

26 lines
398 B
Docker

# Use Bun as the base image
FROM oven/bun:1.3.0-alpine
# Set working directory
WORKDIR /app
# Copy package files
COPY package.json bun.lockb ./
# Install dependencies
RUN bun install --frozen-lockfile
# Copy source code
COPY . .
# Build the application
RUN bun run build
# Expose port
EXPOSE 3000
# Set environment
ENV NODE_ENV=production
# Start the application
CMD ["bun", "run", "start"]