# Build frontend
FROM oven/bun:1.0.25-alpine as frontend

WORKDIR /app/
COPY ./ ./

# Expose port
EXPOSE 8080

# Start the app
ENV NODE_ENV=production
CMD [ "bun", "run", "./index.js" ]