freellmapi / Dockerfile
StXh
alpine
d20e9f7
Raw
History Blame Contribute Delete
387 Bytes
# Use Bun Alpine as base image
FROM oven/bun:alpine
# Set working directory
WORKDIR /
# Copy application files
COPY . ./
# Copy .env file if it exists
#COPY .env* ./
# Install dependencies if package.json exists
#RUN if [ -f package.json ]; then bun install --frozen-lockfile; fi
# Expose port (adjust if needed)
EXPOSE 7860
# Run the chat.js application
CMD ["bun", "./server.js"]