You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
383 B
Docker

# Use official Bun image for optimal performance
FROM oven/bun:1.1 as base
WORKDIR /app
# Install dependencies first (better layer caching)
COPY package.json ./
RUN bun install
# Copy all source files
COPY . .
# Server runs on port 3007 by default (override with PORT env var)
EXPOSE 3007
# Start the server (env vars will be injected by CapRover)
CMD ["bun", "run", "index.ts"]