From d9901a4285905690908e6d15f914eab89c2facd2 Mon Sep 17 00:00:00 2001 From: Max Wofford Date: Mon, 24 Feb 2025 20:33:38 -0500 Subject: [PATCH] Create Dockerfile --- Dockerfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5cd891d --- /dev/null +++ b/Dockerfile @@ -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"]