Files
VoiceRSSSummary/Dockerfile
2025-06-07 13:26:05 +09:00

24 lines
439 B
Docker

# Use the official bun image as a base
FROM oven/bun:latest
# Set the working directory
WORKDIR /app
# Create a volume for the working directory
VOLUME /app
# Copy project files
COPY . .
# Install dependencies
RUN bun install
RUN bun run build:frontend
RUN bun run build:admin
# Expose the ports your app runs on
EXPOSE 3000 3001
# Start both servers
CMD ["sh", "-c", "bun run /app/server.ts & bun run /app/admin-server.ts & wait"]