Files
discord-rpg-concept/Dockerfile
2025-12-15 22:32:27 +01:00

19 lines
307 B
Docker

FROM oven/bun:latest AS base
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y git
# Install dependencies
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile
# Copy source code
COPY . .
# Expose port
EXPOSE 3000
# Default command
CMD ["bun", "run", "dev"]