api / Dockerfile
RohanVashisht's picture
Update Dockerfile
cc0a646 verified
raw
history blame
254 Bytes
# Use official Bun image
FROM oven/bun:1.0.30
# Set working directory
WORKDIR /app
# Copy code to container
COPY . .
# Install dependencies using Bun
RUN bun install
# Expose the app port
EXPOSE 3000
# Start the server
CMD ["bun", "./src/index.ts"]