Create Dockerfile

This commit is contained in:
Max Wofford 2025-02-24 20:33:38 -05:00
parent 0655a0d8a7
commit d9901a4285

20
Dockerfile Normal file
View file

@ -0,0 +1,20 @@
# Use the official Bun image as base
FROM oven/bun:1
# Set working directory
WORKDIR /app
# Copy package.json and bun.lockb (if exists)
COPY package*.json bun.lockb* ./
# Install dependencies
RUN bun install
# Copy the rest of the application
COPY . .
# Expose the port your Express server runs on
EXPOSE 3000
# Start the server
CMD ["bun", "run", "start"]